home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 001a / com_and2.zip / COM-AND.DOC < prev    next >
Text File  |  1990-10-16  |  191KB  |  5,775 lines

  1. COM-AND: IBM PC Communications and Accessories
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.           -----------------------------------------
  18.           COM-AND:    Communications and integrated
  19.           communications accessories for the IBM PC
  20.           -----------------------------------------
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.     COM-AND is distributed freely and may be copied by anyone for
  33.     any number of machines, for purposes of evaluation.  The author
  34.     offers COM-AND and its accessory programs as a package, as
  35.     "shareware".  If you USE the program a registration of $35.00 is
  36.     required.  The author may be reached:
  37.  
  38.  
  39.                  CABER Software
  40.                  R. (Scott) McGinnis
  41.                  P.O. Box 3607 Mdse Mart
  42.                  Chicago, IL 60654-0607
  43.  
  44.                  PLINK, GEnie id: TARTAN
  45.                  CIS id: 73147,2665
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54. Version 2.7: 901015
  55.  
  56. COM-AND: IBM PC Communications and Accessories
  57.  
  58.  
  59.  
  60.  
  61.  
  62.     COM-AND version 2.7 is copyright 1989 CABER Software (R.  Scott
  63.     McGinnis).  All rights are reserved world wide, excepting redistri-
  64.     bution under the ShareWare concept.  COM-AND is distributed freely
  65.     and may be copied by anyone for any number of machines, under the
  66.     ShareWare concept.
  67.  
  68.  
  69.     COM-AND is distributed as ShareWare.  You may use COM-AND without
  70.     charge for the purposes of evaluating its usefulness to you.  It is
  71.     suggested that this evaluation period be limited to a few days of
  72.     actual use.  If you find COM-AND to be worth continued use, then you
  73.     are asked to pay for it.  The payment is called a "registration
  74.     fee".  Complete the included registration form and mail it with your
  75.     payment.
  76.  
  77.  
  78.     Registration of COM-AND includes all published accessory programs
  79.     (which currently are PC-VCO, CCHESS, CBRIDGE, and CCOLOR), and
  80.     several utilities (unPACKIT and unSTUFIT).  Accessories and utili-
  81.     ties are published separately.    One registration covers the use
  82.     of any and all of these programs.
  83.  
  84.  
  85.     By registering your copy of COM-AND (or any ShareWare product), you
  86.     are promoting and supporting the convenient distribution method and
  87.     free evaluation policy that brought you this copy of COM-AND.
  88.  
  89.  
  90.     If you have received this copy from a Users' Group, "Software
  91.     Library" or "SIG", and have paid a small fee (usually $3 to $10),
  92.     you have NOT acquired a registration or continued right to use
  93.     COM-AND.  This fee was for the convenience of obtaining the diskette
  94.     with COM-AND on it.  The fee does NOT apply to the registration fee.
  95.  
  96.  
  97.     You may NOT distribute COM-AND or its documentation in connection
  98.     with ANY commercial venture, product, publication or service without
  99.     written approval.  COM-AND may not be disassembled or modified
  100.     without express written consent of its author.
  101.  
  102.  
  103.     COM-AND is supplied "as-is" with no warranties expressed or implied.
  104.     Neither CABER Software nor the author will be liable for any damages
  105.     or lost revenues incured through the use of this program or any of
  106.     its accessories and utilities beyond the registration price paid.
  107.  
  108.  
  109. Version 2.7: 901015
  110.  
  111. COM-AND: IBM PC Communications and Accessories
  112.  
  113.  
  114.  
  115.  
  116.  
  117.     COM-AND version 2.7 is available as shareware through PLINK, GEnie,
  118.     UNISON, NWI, Delphi and CIS.  COM-AND is also available through many
  119.     Bulletin Board systems.  Individuals are welcome to download COM-AND
  120.     for purposes of evaluation.
  121.  
  122.  
  123.     Commercial users of COM-AND must register COM-AND with the author or
  124.     one of the individuals listed here.  Site licenses (multiple copy
  125.     registrations) are available from:
  126.  
  127.  
  128.         CABER Software
  129.         R. (Scott) McGinnis
  130.         P.O. Box 3607 Mdse Mart
  131.         Chicago, IL 60654-0607
  132.  
  133.         PLINK, GEnie, Delphi ID: TARTAN
  134.         CIS id: 73147,2665
  135.  
  136.  
  137.     Commercial users of COM-AND may register it with the author above or
  138.     through:
  139.  
  140.  
  141.         SupportWare
  142.         Mike Todd
  143.         P.O. Box 14927
  144.         Long Beach, CA 90803-1449
  145.         (213) 439-6104
  146.  
  147.  
  148.     In Japan, COM-AND may be downloaded as shareware from PC-VAN.
  149.     COM-AND is available in Japan as a commercial product tailored for
  150.     specific machines through:
  151.  
  152.  
  153.         Discotel Japan (Ciari Soft)
  154.         Kurakuen 3 ban-cho 2-50
  155.         Nishinomiya 662
  156.         Japan
  157.  
  158.         Contact: Claude Ciari
  159.         Tel (0798)73-0052
  160.         PC-VAN NEC by Ciari
  161.         ID: CCIARI
  162.  
  163.  
  164. Version 2.7: 901015
  165.  
  166. COM-AND: IBM PC Communications and Accessories
  167.  
  168.  
  169.                  Table of Contents
  170.                  -----------------
  171.  
  172. I.    Introduction  .............................................. page 1
  173.  
  174.     A. What is COM-AND ......................................... page 1
  175.     B. Version 2? .............................................. page 2
  176.     C. This document ........................................... page 2
  177.  
  178. II.    Running the program  ....................................... page 3
  179. III.    CRT Display  ............................................... page 6
  180. IV.    Accessory Programs ......................................... page 8
  181. V.    Menu mode .................................................. page 10
  182. VI.    Commands: available in CRT and accessory modes ............. page 12
  183. VII.    Commands: CRT mode only .................................... page 15
  184. VIII.    Commands: Accessory only ................................... page 18
  185. IX.    Dialing (Alt-D, Alt-R and Alt-H) ........................... page 19
  186.  
  187.     A. Dialing (Alt-D) ......................................... page 19
  188.     B. Dialing directory maintenance (Alt-D) ................... page 20
  189.     C. Redial (Alt-R) .......................................... page 21
  190.     D. Hangup (Alt-H) .......................................... page 21
  191.     E. A note on modem speed ................................... page 21
  192.  
  193. X.    Macros (Alt-M and Alt-0/9) ................................. page 22
  194.  
  195.     A. Revise entry (0-9) ...................................... page 22
  196.     B. Load a new file (Alt-M subcommand F) .................... page 23
  197.     C. Clear entries (Alt-M subcommand C) ...................... page 24
  198.     D. Execute entry (Alt-0 through Alt-9) ..................... page 24
  199.  
  200. XI.    Encryption/Decryption (Alt-N) .............................. page 25
  201. XII.    Program Configuration (Alt-S, Alt-P, Alt-O and Alt-J) ...... page 28
  202.  
  203.     A. Setup (Alt-S) ........................................... page 28
  204.     B. Communications Parameters (Alt-P) ....................... page 32
  205.     C. Options (Alt-O) ......................................... page 34
  206.     D. Colors (Alt-J) .......................................... page 41
  207.  
  208. XIII.    File Transfer (PgUp, PgDn, Alt-F, F4) ...................... page 42
  209.  
  210.     A. XMODEM Up/Download ...................................... page 44
  211.     B. YMODEM Up/Download ...................................... page 45
  212.     C. ZMODEM Up/Download ...................................... page 46
  213.     D. KERMIT Up/Download ...................................... page 47
  214.     E. CIS-B and Quick CIS-B Up/Download ....................... page 48
  215.  
  216.  
  217.  
  218.  
  219. Version 2.7: 901015
  220.  
  221. COM-AND: IBM PC Communications and Accessories
  222.  
  223.  
  224.                  Table of Contents
  225.                  -----------------
  226.  
  227. XIII.    File Transfer (continued)
  228.  
  229.     F. ASCII Upload ............................................ page 49
  230.     G. ASCII Download .......................................... page 51
  231.     H. File directory (Alt-F) .................................. page 52
  232.     I. Default download path (F4) .............................. page 52
  233.  
  234. XIV.    Logging and Call-logging (F7, F9, Alt-U) ................... page 53
  235.  
  236.     A. Disk logging [transcripting] (F7) ....................... page 56
  237.     B. Log hold [transcripting] (F9) ........................... page 56
  238.     C. Annotate call-log (Alt-U) ............................... page 56
  239.  
  240. XV.    Miscellaneous Functions .................................... page 57
  241.  
  242.     A. Default Drive:Subdirectory (F3) ......................... page 57
  243.     B. Keyboard display (F8) ................................... page 57
  244.     C. Chat mode (Alt-A) ....................................... page 57
  245.     D. Redisplay [backscreen] (Alt-B) .......................... page 57
  246.     E. Clear screen (Alt-C and received TOF) ................... page 58
  247.     F. Echo (Alt-E) ............................................ page 58
  248.     G. Blank line suppression (Alt-G) .......................... page 58
  249.     H. 43/25 line toggle (Alt-L) ............................... page 58
  250.     I. Kermit Parameters (Alt-K) ............................... page 58
  251.     J. Time and Alarms (Alt-T) ................................. page 59
  252.     K. Playback (Alt-W) ........................................ page 59
  253.     L. Program termination (Alt-X) ............................. page 59
  254.     M. Parity (hi-bit) mask (Alt-Z) ............................ page 60
  255.  
  256. XVI.    DOS Gateway (Alt-F10) ...................................... page 61
  257. XVII.    Emulation (Alt-V)  ......................................... page 62
  258.  
  259.     A. Display Emulation ....................................... page 62
  260.     B. Translation ............................................. page 63
  261.     C. Remapping ............................................... page 64
  262.  
  263. XVIII.    Script Language ............................................ page 65
  264. XIX.    Program Requirements ....................................... page 66
  265. XX.    Program and Author Information    ............................ page 67
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274. Version 2.7: 901015
  275.  
  276. COM-AND: IBM PC Communications and Accessories
  277.  
  278.  
  279.                 Appendices
  280.                 ----------
  281.  
  282. A.    Switches and Parameters .................................... page 68
  283. B.    COM-AND Error display ...................................... page 71
  284. C.    Files ...................................................... page 72
  285. D.    Windowed XMODEM (WXMODEM) .................................. page 73
  286. E.    ANSI ,VT100, and VT52 sequences ............................ page 74
  287.  
  288.     1. ANSI sequences .......................................... page 74
  289.     2. VT100 sequences ......................................... page 76
  290.     3. VT52 sequences .......................................... page 78
  291.  
  292. F.    Vidtex and RLE files ....................................... page 79
  293.  
  294.     1. Vidtex .................................................. page 79
  295.     2. RLE Files ............................................... page 80
  296.  
  297. G.    External Protocol drivers .................................. page 81
  298. H.    Modem Configuration ........................................ page 83
  299.  
  300.     1. DTR (Data Terminal Ready) ............................... page 83
  301.     2. CD (Carrier Detect) ..................................... page 83
  302.  
  303. I.    Environment variables ...................................... page 84
  304.  
  305.     1. COM-AND= ................................................ page 84
  306.     2. COMSPEC= ................................................ page 84
  307.     3. Other variables ......................................... page 84
  308.  
  309. J.    Background operation ....................................... page 86
  310. K.    Encoded music .............................................. page 87
  311. L.    BIOS Comm Read/Write ....................................... page 88
  312. M.    MODEM Initialization ....................................... page 89
  313. N.    COM-AND's Backscreen ....................................... page 92
  314. O.    Customizing COM-AND ........................................ page 93
  315. P.    BIOS (INT 14h) communications .............................. page 96
  316. Q.    16550A(N) UARTs ............................................ page 98
  317. R.    Command Index .............................................. page 99
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329. Version 2.7: 901015
  330.  
  331. COM-AND: IBM PC Communications and Accessories                 Page   1
  332.  
  333.  
  334. I.    Introduction
  335.  
  336.  
  337.     A. What is COM-AND?
  338.  
  339.  
  340.        COM-AND for the IBM PC and compatibles is a communications
  341.        program that may be used by itself, or with several integrated
  342.        accessory programs (which themselves may be used independent of
  343.        COM-AND).  COM-AND provides standard comm program functions:  a
  344.        dialing directory, macros, disk logging, binary and ASCII file
  345.        transfers, scripted execution and so on.
  346.  
  347.  
  348.        Four accessories are available for use with Version 2.7 of COM-
  349.        AND.  These accessories are for use over conferencing services
  350.        such as People/Link's PARTY, GEnie's RTC and CIS's CB:
  351.  
  352.         PC-VCO provides a way to 'see' and 'hear' people talking.
  353.         CCHESS supports chess games with another conference user.
  354.         CBRIDG supports bridge games with other conference users.
  355.         CCOLOR tracks conference users, coloring each speaker's
  356.                received text differently
  357.  
  358.  
  359.        These accessories are available uploaded separately, not as a
  360.        part of COM-AND's release.  Please refer to the accessory
  361.        documents for more detailed discussions of their function.
  362.  
  363.  
  364.        COM-AND Version 2.7 executes as a CRT based comm program either
  365.        in 25 line text mode on a CGA or monochrome screen, or 25/43 line
  366.        mode on an EGA display.  When an accessory is loaded through
  367.        COM-AND (or when COM-AND is loaded by an accessory), most of the
  368.        functions of COM-AND are available through the accessory.
  369.  
  370.  
  371.        COM-AND and its accessories (PC-VCO, CCHESS, CBRIDG, and CCOLOR)
  372.        may be copied freely and distributed to anyone for any number of
  373.        machines, for purposes of evaluation.  The author offers COM-AND
  374.        as "shareware".  If the program is USED, a registration of $35.00
  375.        is asked for the entire package.
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384. Version 2.7: 901015
  385.  
  386. COM-AND: IBM PC Communications and Accessories                 Page   2
  387.  
  388.  
  389. I.    Introduction (continued)
  390.  
  391.  
  392.     B. Version 2?
  393.  
  394.  
  395.        Version 1 of this software was released more than three years ago
  396.        as PC-VCO.  In other words, the accessory and communications pro-
  397.        gram were one program.
  398.  
  399.  
  400.        Creation of version 2.0 necessitated the splitting the original
  401.        software into two executable programs.  From that point in time,
  402.        accessories have been released as individual programs, with this
  403.        or future versions of COM-AND as base.
  404.  
  405.  
  406.        Version 2.7 is the tenth release.
  407.  
  408.  
  409.     C. This document
  410.  
  411.  
  412.        This document describes the features of COM-AND, both standard
  413.        communications features and as much of the accessory program
  414.        features as may be appropriate.  For the most part, however, the
  415.        discussion of accessory functions will be limited.
  416.  
  417.  
  418.        Accessories are released separately.  For detailed discussions of
  419.        accessories, please refer to each accessory's documentation.
  420.  
  421.  
  422.        For details of the script language, please refer to the file
  423.        CASCRIPT.DOC included with this release.  This document addresses
  424.        manual use of COM-AND.
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439. Version 2.7: 901015
  440.  
  441. COM-AND: IBM PC Communications and Accessories                 Page   3
  442.  
  443.  
  444. II.    Running the program
  445.  
  446.  
  447.     Generally, COM-AND is invoked at the DOS prompt with the command:
  448.  
  449.     -----------------------------------------------------------------
  450.     "d>" COM-AND <options>
  451.  
  452.     Where "d>" is the DOS prompt, and
  453.           <options> is/are (<parm> (<parm> ...))
  454.           and <parm> is either a switch or a parameter
  455.  
  456.     Refer to Appendix A for a description of switches and parameters.
  457.     -----------------------------------------------------------------
  458.  
  459.     COM-AND could be invoked with a command such as:
  460.  
  461.            "d>" COM-AND
  462.  
  463.     to simply start COM-AND, or, for example, the command:
  464.  
  465.            "d>" COM-AND DIAL 1
  466.  
  467.     to dial dialing directory entry #1 as soon as COM-AND is loaded.
  468.  
  469.     The command:
  470.  
  471.            "d>" COM-AND /FSCRIPT
  472.  
  473.     would be used to perform the commands contained in the file SCRIPT
  474.     (or SCRIPT.CMD or SCRIPT.ENF, whichever is first in the directory).
  475.  
  476.  
  477.     COM-AND requires no other file for its execution.  It will create
  478.     a parametrization file, dialing directory, and macro definition if
  479.     none are present.  If files (.DFT, .DIR, and .MAC) from previous
  480.     versions of PC-VCO (1.31 and before) are renamed COM-AND.* they
  481.     will be converted to the new format.
  482.  
  483.  
  484.     Note that once loaded, COM-AND does not require its executable disk
  485.     file again.  No program disk need be retained in the default drive if
  486.     loaded from floppy diskette (though it will be needed again to change
  487.     the dialing directory, or macro, or accessory definitions).
  488.  
  489.  
  490.     Files used by COM-AND are discussed in Appendix C.  Default pathing
  491.     of file names is discussed in Appendix I.
  492.  
  493.  
  494. Version 2.7: 901015
  495.  
  496. COM-AND: IBM PC Communications and Accessories                 Page   4
  497.  
  498.  
  499. II.    Running the program (continued)
  500.  
  501.  
  502.     The first time COM-AND is loaded, it will establish default settings
  503.     (as described in Appendix A).  The comm port used as a default (COM1)
  504.     may on some machines be unusable as a serial port.  If this happens,
  505.     boot the machine and reload COM-AND thusly:
  506.  
  507.            "d>" COM-AND /I
  508.  
  509.     The /I switch directs COM-AND to NOT issue a modem initialization
  510.     string.  When COM-AND is loaded in this manner, the serial port is
  511.     unused until a character is to be transmitted.
  512.  
  513.  
  514.     The very first time COM-AND is used:
  515.  
  516.     1) Use DOS to make the current subdirectory the subdirectory where
  517.        you will install COM-AND...    where previous versions have been
  518.        installed.  DeARC the distribution files.  Have a care not to
  519.        overwrite files you want to keep!
  520.  
  521.     2) DeARC the distribution files onto the selected subdirectory
  522.  
  523.     3) Load COM-AND (as above)
  524.  
  525.        If COM-AND is loaded on a subdirectory where no COM-AND.DFT
  526.        resides AND if the environment variable COM-AND= does not point to
  527.        a subdirectory where COM-AND.DFT may be found, COM-AND will create
  528.        a new .DFT file.
  529.  
  530.        A script named INSTALL.CMD is included with this release.  If
  531.        COM-AND creates its .DFT file (as opposed to updating an existing
  532.        one), and if the script INSTALL.CMD is available, INSTALL will be
  533.        invoked automatically upon completion of initialization.
  534.  
  535.        INSTALL takes over some of the decision process, and some of the
  536.        work required to configure COM-AND for use.    It is in no way
  537.        necessary to the execution of COM-AND, however.
  538.  
  539.        INSTALL performs the following functions (all steps in INSTALL are
  540.        optional):
  541.  
  542.        o  Adding a COM-AND= environment variable to the AUTOEXEC.BAT
  543.        o  Setting (and searching for possible) serial ports
  544.        o  Setting the default speed for the serial port selected
  545.        o  Setting modem command strings according to modem model
  546.  
  547.  
  548.  
  549. Version 2.7: 901015
  550.  
  551. COM-AND: IBM PC Communications and Accessories                 Page   5
  552.  
  553.  
  554. II.    Running the program (continued)
  555.  
  556.  
  557.     4) Review settings in COM-AND
  558.  
  559.        o  Check Alt-P
  560.           .. Check the COM port you use (1/2/3/4).
  561.           .. Check the default speed selection.  It is not important if
  562.          you always use the dialing directory.    Set it anyway.
  563.           .. Remember to save new settings.
  564.  
  565.        o  Check Alt-S
  566.           .. Check that modem parms are set for your particular modem,
  567.           .. The backscreen buffer size defaults to 4K.  You can set it
  568.          up to 64K, for redisplay and transcripting.
  569.           .. Remember to save the new settings.
  570.  
  571.        o  Check Alt-O
  572.           .. Set flags the way you want them (e.g. exit query on, d*mned
  573.          advert off, and so on;  Note BIOS/DIRECT and PCJr settings)
  574.           .. Remember to save new settings.
  575.  
  576.     3) Review the accessories (F1).
  577.  
  578.        You may review the contents of accessory definitions with the 'r'
  579.        subcommand.    You may wish to add entries for a listing program and
  580.        editor..  perhaps PC-VCO...    perhaps CCOLOR...
  581.  
  582.     5) Exit COM-AND with Alt-X.
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596.  
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604. Version 2.7: 901015
  605.  
  606. COM-AND: IBM PC Communications and Accessories                 Page   6
  607.  
  608.  
  609. III.    CRT Display
  610.  
  611.  
  612.     When COM-AND is loaded, a pop-up informs that initialization is
  613.     occuring.  Initialization of the modem is performed automatically
  614.     by COM-AND.  The modem initialization string specified through the
  615.     Setup function (Alt-S) is issued to the modem when COM-AND is
  616.     loaded, after the modem port is set to the default rate, parity,
  617.     data and stop values specified (at run time or through Alt-P).
  618.  
  619.  
  620.     Other initialization includes:    looking for a mouse, and loading
  621.     files (dialing directory, macro, and accessory definitions).
  622.  
  623.  
  624.     Once initialization is complete, the PC serves as a 24 (CGA and mono-
  625.     chrome) or 24/42 line (EGA/VGA) CRT.  The first 24(42) lines are a
  626.     scrolling region for received text.  The 25th(43rd) line is used for
  627.     program identification, status and keyboard display.  Carriage
  628.     return/line feed combinations received cause the text area to scroll.
  629.  
  630.  
  631.     Text typed in at the keyboard is transmitted out the COM port.    What
  632.     is received through the COM port is displayed on the screen.  Special
  633.     escape sequences are performed by COM-AND (optional).  Control char-
  634.     acters (except null) are displayed according to the IBM character set
  635.     (optional).  Received characters may be masked to 7 bits (optional).
  636.  
  637.  
  638.     In order to connect to a host, the first step would usually be to
  639.     dial the phone number of the Network node you wish to access.  For
  640.     example, with a Smartmodem, typing the following directs the modem
  641.     to dial the phone:
  642.  
  643.          AT E1 DT 245-9110 <return>
  644.  
  645.  
  646.     This sequence instructs the Smartmodem to echo entry (E1) and dial
  647.     using tone dialing (DT) PLINK Chicago (245-9110) as a local call.
  648.     Modem initialization could be done between the E1 and DT as needed.
  649.  
  650.  
  651.     This sequence is automated in COM-AND through a dialing directory
  652.     (Alt-D).  Phone numbers and parameters are maintained in the
  653.     directory.  Services are called through the same Alt-D command.
  654.  
  655.  
  656.  
  657.  
  658.  
  659. Version 2.7: 901015
  660.  
  661. COM-AND: IBM PC Communications and Accessories                 Page   7
  662.  
  663.  
  664. III.    CRT Display (continued)
  665.  
  666.  
  667.     Many people prefer to make connection to a host with a script, how-
  668.     ever.  Scripts for dialing and connecting to several popular services
  669.     are included with this release of COM-AND.  A script is a 'program'
  670.     written for another program, in this case for COM-AND.
  671.  
  672.  
  673.     Whether the connection is made manually or through a script, every-
  674.     thing that happens appears in the text area of the CRT display.
  675.  
  676.  
  677.     The keyboard on the IBM PC provides ordinary typewriter-like keys and
  678.     other keys (e.g.  F1, F2...).  The 'other' keys are used by COM-AND
  679.     for control purposes, as the mention of Alt-D above shows.  The Alt-
  680.     key, when held down while another key is pressed, is treated as a
  681.     special keystroke.  Press Alt-D and a window pops-up displaying the
  682.     current dialing directory.  Press F2 and a window pops-up displaying
  683.     the scripts available on the current subdirectory for execution.
  684.  
  685.  
  686.     The remaining chapters of this document describe the functions of
  687.     COM-AND as they may be manually invoked.  A separate document
  688.     (SCRIPT.DOC) summarizes the scripts released with this version of
  689.     COM-AND.  [An individual scripts may or may not have its own
  690.     document covering its use.]  A separate document (CASCRIPT.DOC)
  691.     describes the script language and concepts.
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714. Version 2.7: 901015
  715.  
  716. COM-AND: IBM PC Communications and Accessories                 Page   8
  717.  
  718.  
  719. IV.    Accessory Programs
  720.  
  721.  
  722.     Released with the 2.7 version of COM-AND are four programs that are
  723.     labelled 'accessories':  PC-VCO, CCHESS, CBRIDG and CCOLOR.  PC-VCO,
  724.     CCHESS, CBRIDG, and CCOLOR are programs in their own right, and may
  725.     be used with or without the COM-AND program (according to your pre-
  726.     ference in comm program).
  727.  
  728.  
  729.     Accessory programs are usually loaded with COM-AND for a special
  730.     purpose (such as PC-VCO: Visual Conferencing), after connection has
  731.     been established through COM-AND.  When COM-AND is loaded as above
  732.     (i.e.  "d> COM-AND"), accessories would be loaded 'on top' of
  733.     COM-AND through the F1 Menu.
  734.  
  735.  
  736.     However:  the accessory program may be loaded first.  When PC-VCO is
  737.     run from the DOS prompt without the '/P' switch, it looks for the
  738.     COM-AND program on the current subdirectory (or in the subdirectory
  739.     indicated by a 'COM-AND=' environment variable).  PC-VCO will not run
  740.     without the '/P' switch unless it can find COM-AND.  PC-VCO loads
  741.     COM-AND, and the F1 menu in COM-AND is made unavailable for use.
  742.  
  743.  
  744.     The integration of accessory programs into COM-AND means that:
  745.  
  746.     (1) the accessory loads COM-AND if COM-AND isn't loaded already
  747.         (unless the accessory was loaded "/P"),
  748.  
  749.     (2) COM-AND functions such as macros and dialing directory are
  750.         available in the accessory when COM-AND is loaded, and
  751.  
  752.     (3) settings made in COM-AND carry over to the accessory when it
  753.         is loaded, and settings made in the accessory carry over to
  754.         COM-AND when the accessory terminates.
  755.  
  756.  
  757.     When an accessory program loads COM-AND, COM-AND is limited to the
  758.     use of just that one accessory (and no other, although it will gate-
  759.     way to DOS).  When COM-AND is loaded first, a menu of accessories,
  760.     arranged somewhat like the dialing directory, is presented.  One
  761.     accessory after another may be selected, each new accessory selec-
  762.     tion terminating the previous one.
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769. Version 2.7: 901015
  770.  
  771. COM-AND: IBM PC Communications and Accessories                 Page   9
  772.  
  773.  
  774. IV.    Accessory Programs (continued)
  775.  
  776.  
  777.     An accessory is loaded by pressing F1, and selecting the entry you
  778.     wish to execute.  [The F1 menu is available only on the CRT side,
  779.     only when COM-AND is loaded first.]
  780.  
  781.  
  782.     The F1 menu defines an accessory as:
  783.  
  784.     o    A title which is displayed in the menu
  785.     o    A subdirectory for use during the accessory (optional)
  786.     o    A script file to be performed (optional)
  787.     o    A program to be loaded, along with parameters (optional)
  788.  
  789.  
  790.     An accessory to COM-AND, therefore, might be any COM-AND script, or
  791.     most any program, or both.  You are not limited to the ones coded for
  792.     COM-AND.  If you have a favorite editor that you'd like to use to
  793.     keep notes on-line, define it as an accessory...  If you like to look
  794.     at READMAC (or GIF) graphics during conferences, define an accessory
  795.     for each of several favorite pictures...
  796.  
  797.  
  798.     To create a new entry, use the revise subcommand ("R").  You are
  799.     prompted for each of the above values.    The subdirectory you
  800.     specified will be used as the default for all program and file
  801.     accesses when you invoke the accessory.  The program name must be
  802.     given in full (e.g. XXX.COM or YYY.EXE).  Batch files are not
  803.     executable as accessories (at this time); however, you may use
  804.     "COMMAND.COM /C FILE.BAT" to effect the execution of a batch file.
  805.  
  806.  
  807.     Accessories integrated into COM-AND (such as PC-VCO) permit switching
  808.     between CRT and accessory modes.  A loaded accessory is terminated
  809.     with the "T" subcommand of F1, or by simply loading a new accessory.
  810.  
  811.  
  812.     COM-AND supports multiple accessory directory files.  A new accessory
  813.     directory is manually selected with the 'F' subcommand of the F1
  814.     window.  Note that the new file name is also reflected in the Alt-S
  815.     window (but isn't saved for the next time).
  816.  
  817.  
  818.     External protocol drivers may easily be implemented as accessories.
  819.     Refer to the Appendix G for a discussion of one such driver's
  820.     implementation as an accessory (DSZ for file transfers).
  821.  
  822.  
  823.  
  824. Version 2.7: 901015
  825.  
  826. COM-AND: IBM PC Communications and Accessories                 Page  10
  827.  
  828.  
  829. V.    Menu mode
  830.  
  831.  
  832.     An easy way to get to know a new program is through a summary of
  833.     functions it provides.    In COM-AND, the F10 key provides a command
  834.     summary.  Like most communications programs, COM-AND ties its func-
  835.     tions to special keys (Alt-D for dialing, Alt-F for file directory,
  836.     and so on).  This is done for purposes of speed...  host services
  837.     charge by the minute... every keystroke counts!
  838.  
  839.  
  840.     However, beginning with version 2.5, almost every function of COM-AND
  841.     is available through a 'menu mode'.  When COM-AND is run with the /V
  842.     switch (or if menu mode is set permanently through Alt-O, Options),
  843.     the top line of the screen will be given to a 'menu bar'.  Each item
  844.     on the top bar may be selected in turn, and a menu pulled-down
  845.     listing functions.  The equivalent keystroke is displayed for every
  846.     item in the pull-downs.
  847.  
  848.  
  849.     In menu mode, items from the top bar may be selected with the mouse,
  850.     or the cursor keys.  Pull-down windows are opened in the same way.
  851.     Keystrokes active on the top bar (when no pull-down is open) are:
  852.  
  853.     Mouse        Keystroke    Menu mode ON    Menu mode OFF
  854.     --------------- --------------- --------------- ----------------
  855.     Left motion    Cursor left    Top bar select    Backspace sent
  856.     Right motion    Cursor right    Top bar select    Space transmitted
  857.     Downward motion Cursor down    Open pull-down    It beeps
  858.     Upward motion    Cursor up    Open pull-down    It beeps
  859.  
  860.  
  861.     Once an item from the top bar is 'opened' or 'pulled-down', the usage
  862.     changes slightly.  Within a pull-down, keystrokes are:
  863.  
  864.     Mouse            Keystroke        Menu mode ON
  865.     ------------------- --------------- ---------------------------
  866.     Left motion        Cursor left     Open pull-down to left
  867.     Right motion        Cursor right    Open pull-down to right
  868.     Downward motion     Cursor down     Select next successive item
  869.     Upward motion        Cursor up        Select previous item
  870.  
  871.     Left button click   PgDn        Select next successive item
  872.     Right button click  PgUp        Select previous item
  873.     Left double click   Carriage rtn    Execute selected item
  874.     Right double click  ESCAPE        Cancel window
  875.  
  876.  
  877.  
  878.  
  879. Version 2.7: 901015
  880.  
  881. COM-AND: IBM PC Communications and Accessories                 Page  11
  882.  
  883.  
  884. V.    Menu mode (continued)
  885.  
  886.  
  887.     Within function 'windows' (such as Alt-D dialing), the above key-
  888.     strokes and mouse actions have the same general meaning. [Only in
  889.     menu mode pull-downs do left/right motions/cursor keys open new
  890.     windows, however.]
  891.  
  892.  
  893.     At this point, a note on mouse usage seems appropriate... COM-AND
  894.     will use a Microsoft Mouse (or equivalent) if it finds one, if the
  895.     /M run-time switch is not set.    Even for the miceless, left, right,
  896.     up, and down motions should be self-explanatory.  However, mention
  897.     of 'buttons' and 'double clicks' requires some discussion.
  898.  
  899.  
  900.     The Microsoft Mouse has two buttons that may be pressed.  COM-AND
  901.     implements the left button as PgUp and the right button as PgDn, as
  902.     shown in the table above.  However, when a button is pressed, it is
  903.     not 'executed' immediately.  COM-AND will wait for a short moment to
  904.     determine if the button is being pressed once, or twice in rapid
  905.     succession.  A left 'double click' is taken as a carriage return, and
  906.     a 'right double click' is taken as ESCAPE.  The interval after which
  907.     COM-AND takes a button press as a single press may be changed through
  908.     Alt-S, Setup.
  909.  
  910.  
  911.     All of this is to say that in any COM-AND window where there are
  912.     multiple items, one of which is to be selected, the cursor keys,
  913.     mouse up/down motions, and mouse buttons may be used to select an
  914.     item.  [Every window where this is the case 'highlights' the current
  915.     selection.]   A double click on the mouse left button will execute
  916.     the selection (just as a carriage return), and a double click on the
  917.     mouse right button will cancel the function (just as ESCAPE).
  918.  
  919.  
  920.     The menu mode of COM-AND allows all 'customary' functions, such as
  921.     dialing, hanging up, toggling disc capture, exiting the program, and
  922.     so on, to be performed entirely with a mouse (or the cursor keys
  923.     even).    Of course, someone somewhere must have done the typing to
  924.     update the dialing directory, to define the macros...
  925.  
  926.  
  927.     But as stated at the outset, its an easy way to get to know the
  928.     program.
  929.  
  930.  
  931.  
  932.  
  933.  
  934. Version 2.7: 901015
  935.  
  936. COM-AND: IBM PC Communications and Accessories                 Page  12
  937.  
  938.  
  939. VI.    Commands:  available in both COM-AND and Accessory
  940.  
  941.  
  942.     COM-AND provides the following command keys both on the CRT side, and
  943.     during an accessory:
  944.  
  945.     F1    Switch between text (CRT) and accessory modes:    As described
  946.         above, the F1 key behaves differently, according to the way
  947.         COM-AND was loaded.  When COM-AND is directly loaded, F1
  948.         provides a menu of accessories and functions.  When an
  949.         accessory loads COM-AND by default, the F1 key is restricted
  950.         to switching back and forth between CRT and accessory modes.
  951.  
  952.     F10    Help screen:  All currently implemented commands are summar-
  953.         ized on this screen.  Any command may be executed directly
  954.         while this screen is displayed.  The help screen displayed is
  955.         either by COM-AND or from the accessory, according to the
  956.         current mode.
  957.  
  958.     Alt-F10 DOS Gateway:  If sufficient memory is available, COM-AND
  959.         executes a shell program.  This is normally a second copy
  960.         COMMAND.COM for full access to DOS while a communication
  961.         session is in progress.
  962.  
  963.     Ctl-End Break:    This sends a true 'break' signal.
  964.  
  965.     Ctl-Prt Printer:  Toggle (i.e. turn on/off) printing to LP1.
  966.  
  967.     Alt-C    Clear: Clear the text area of the screen.
  968.  
  969.     Alt-D    Dialing directory:  Enter, change, execute, and print
  970.         dialing directory entries through the Alt-D menu.
  971.  
  972.     Alt-E    Echo: Toggle full/half duplex.    [This function may also be
  973.         controlled through the dialing directory (echo on).] In full
  974.         duplex (echoplex), the host must echo back what is typed for
  975.         it to be seen.    In half duplex, COM-AND echoes what is typed
  976.         immediately.
  977.  
  978.     Alt-F    File directory:  A display similar to the DOS DIR command
  979.         command is displayed in a window.
  980.  
  981.     Alt-G    Blank line suppression:  Toggle.  COM-AND will suppress blank
  982.         lines (double spacing) if you wish.  This may be made a pro-
  983.         gram default through the Alt-O options menu.
  984.  
  985.  
  986.  
  987.  
  988.  
  989. Version 2.7: 901015
  990.  
  991. COM-AND: IBM PC Communications and Accessories                 Page  13
  992.  
  993.  
  994. VI.    Commands: available in both COM-AND and Accessory (continued)
  995.  
  996.  
  997.     Alt-H    Hangup:  Hangup the phone.
  998.  
  999.     Alt-I    Program information:  Author information.  Propaganda.
  1000.  
  1001.     Alt-M    Macros: Define a macro for Alt-0 through Alt-9.
  1002.  
  1003.     Alt-N    Encrypt/decrypt a file:  This function implements the
  1004.         Federal Data Encryption Standard; secure but slow (I'll
  1005.         work on that!).  Encrypted files may be used as scripts.
  1006.         Files cannot be encrypted/decrypted in place!!!
  1007.  
  1008.         Note: Should the encrypted file be modified in any way, or
  1009.         the password be lost, there is little chance of recovery.
  1010.         Neither CABER Software nor the author will be liable for any
  1011.         damages or lost revenues incured through the use of this
  1012.         function beyond the registration price paid for COM-AND.
  1013.  
  1014.     Alt-O    Options:  Set controlling flags for COM-AND.  Note that
  1015.         although this menu may be used from either COM-AND or
  1016.         accessory, it really only effects COM-AND settings.
  1017.  
  1018.     Alt-P    Comm Parameters:  Set baud rate, parity, number of data
  1019.         and stop bits for use when COM-AND is initially loaded.
  1020.         These settings are overridden by run-time switches.  What-
  1021.         ever the current setting, the dialing directory overrides.
  1022.  
  1023.         Note: Although this menu may be used from either COM-AND or
  1024.         accessory, it really only effects COM-AND settings.  Each
  1025.         accessory has an Alt-P function as well accessible only when
  1026.         the accessory is loaded with the '/P' switch.
  1027.  
  1028.     Alt-R    Redial the last number dialed:    The program will redial the
  1029.         last number dialed until the function is terminated (with
  1030.         ESC), or connection is made.
  1031.  
  1032.     Alt-S    Setup:    Define initial program values, such as Modem initial-
  1033.         ization, the Modem Hangup sequence, and file names.
  1034.  
  1035.         Note: Although this menu may be used from either COM-AND or
  1036.         accessory, it really only effects COM-AND settings.  Each
  1037.         accessory has an Alt-S function as well which may or may not
  1038.         be accessible when COM-AND is loaded.
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044. Version 2.7: 901015
  1045.  
  1046. COM-AND: IBM PC Communications and Accessories                 Page  14
  1047.  
  1048.  
  1049. VI.    Commands: available in both COM-AND and Accessory (continued)
  1050.  
  1051.     Alt-T    Elapsed time:  The time the program was loaded, and the time
  1052.         the last call (Alt-D or Alt-R) was placed are displayed.
  1053.         The 'last call time' may be reset.  A real-time alarm may be
  1054.         set (for one time use, or permanently).
  1055.  
  1056.     Alt-U    Annotate call-log:  COM-AND will (if you wish) keep a log of
  1057.         calls, hangups, disconnects and so on.    You may enter free-
  1058.         form notes into the log through this window.
  1059.  
  1060.     Alt-X    Exit the program:  If the modem you use reports 'carrier'
  1061.         and you exit without hanging-up, you will be asked if a
  1062.         hangup is desired.
  1063.  
  1064.         NOTE:  a script may override the Alt-X function.  When this
  1065.         happens, after Alt-X is pressed (and after the hangup query
  1066.         if it is needed) a script may start!
  1067.  
  1068.     Alt-Z    Parity mask:  Toggle.  The high bit mask is used only for
  1069.         text received and displayed.  It has no effect on file
  1070.         transfers (XMODEM, YMODEM, ZMODEM, KERMIT, and CIS-B).
  1071.  
  1072.     Alt-0/9 Send a Macro:  A string of characters defined through the
  1073.         Alt-M command described above is transmitted.
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099. Version 2.7: 901015
  1100.  
  1101. COM-AND: IBM PC Communications and Accessories                 Page  15
  1102.  
  1103.  
  1104. VII.    Commands: CRT mode only
  1105.  
  1106.  
  1107.     COM-AND provides the following command keys only in CRT mode:
  1108.  
  1109.  
  1110.     F2    Execute a script:  A window is opened to request the name of
  1111.         the script file.  The extension ".CMD" is attempted if the
  1112.         given name does not have an extension, and the given name is
  1113.         not found.  Similarly, the extension ".ENF" will be tried.
  1114.  
  1115.     F3    Set current drive:path:  You may change the default disk
  1116.         drive and path from within COM-AND using this feature.
  1117.         The current drive:path affect uploaded files and file name
  1118.         searches (Alt-F), when no qualification is provided.
  1119.  
  1120.         NOTE: The F3 setting is retained even after COM-AND is
  1121.         terminated.
  1122.  
  1123.     F4    Set default drive:path for downloads:  All download file
  1124.         transfers (XMODEM, YMODEM, ZMODEM, KERMIT, CIS-B, ASCII,
  1125.         logging, and RLE) will use this setting if the target file
  1126.         name supplied (one way or another) does not specify the drive
  1127.         and/or path.
  1128.  
  1129.         NOTE: The F4 setting is retained for the next time COM-AND
  1130.         is used.  Each change to F4 is saved!
  1131.  
  1132.     F5    ASCII upload:  Files may be transfered to a system using a
  1133.         simple 'send' (as if they were entered by hand).  Transfer
  1134.         may occur with or without a host prompt (some special char-
  1135.         acter issued for every line).  Transfer may be timed (paced)
  1136.         in either case.  Line feeds may or may not be suppressed.
  1137.         Tabs may or may not be expanded as blanks, as you wish.
  1138.  
  1139.         This function is also available through PgUp.
  1140.  
  1141.     F6    ASCII download:  This differs from transcripting in that no
  1142.         extra characters are added to the file (such as line feeds
  1143.         after received carriage returns, or an end-of-file byte).
  1144.         Transcripting is intended to result in an ASCII edit file, or
  1145.         a printed log.    ASCII download may be used to save sessions
  1146.         (or parts of sessions) exactly as received.
  1147.  
  1148.         This function is also available through PgDn.
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154. Version 2.7: 901015
  1155.  
  1156. COM-AND: IBM PC Communications and Accessories                 Page  16
  1157.  
  1158.  
  1159. VII.    Commands: CRT mode only (continued)
  1160.  
  1161.  
  1162.     F7    Logging or transcripting:  Log received text to a disk file
  1163.         or device.  You specify the file to be used.  If not empty,
  1164.         new logging will be appended to the end of existing data.
  1165.  
  1166.         You will next be asked if the backscreen (the last text
  1167.         received) is to be saved.  Logging need not be started before
  1168.         an event that you wish to record.
  1169.  
  1170.         What is logged is not exactly what is displayed on the
  1171.         screen.  If hi-bit masking is turned on, characters will be
  1172.         logged with their high bit turned off.    An ASCII end-of-file
  1173.         is added when the file is closed.
  1174.  
  1175.         Opening and closing the log marks the log with date and
  1176.         time.  Transcript marking may be turned off with the
  1177.         Alt-O function.  Log hold (below) does not mark the log.
  1178.  
  1179.     F8    Toggle display of typed characters (for use with half duplex
  1180.         connections, otherwise known as 'no echo').  The keyboard
  1181.         display takes over the 25th (CGA) or 43rd (EGA) line.
  1182.  
  1183.     F9    Hold the log: no entry will be made to the log from this
  1184.         point until hold is turned off (by pressing F9 again) or the
  1185.         log is closed.    The fact that the log is held is displayed
  1186.         on the status line.
  1187.  
  1188.     PgUp    Upload: A menu of all available protocols for file transfer
  1189.         is displayed.  One must be selected, and the upload then
  1190.         proceeds as below (under "File Transfer").
  1191.  
  1192.     PgDn    Download: A menu of all available protocols for file
  1193.         transfer is displayed.    One must be selected, and the
  1194.         download then proceeds as below (under "File Transfer").
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209. Version 2.7: 901015
  1210.  
  1211. COM-AND: IBM PC Communications and Accessories                 Page  17
  1212.  
  1213.  
  1214. VII.    Commands: CRT mode only (continued)
  1215.  
  1216.  
  1217.     Alt-A    Toggle split screen 'chat mode' on and off:  The screen is
  1218.         split in chat mode, one window for received text, and one
  1219.         for typed.  The size of the chat window is set through Alt-S
  1220.         setup.    Some accessories also support Alt-A.
  1221.  
  1222.     Alt-B    Redisplay (backscreen):  You may review the backscreen
  1223.         buffer page by page.  Some accessories also support Alt-B.
  1224.  
  1225.     Alt-J    Set screen colors:  You may set foreground and background
  1226.         color values for the CRT screen, the status line, and menu
  1227.         windows.  Some accessories have their own Alt-J.
  1228.  
  1229.     Alt-K    Set KERMIT parameters:    The values as supplied are suitable
  1230.         for most systems.  It is not recommended that you change
  1231.         these settings unless you fully understand their meaning.
  1232.  
  1233.     Alt-L    Toggle EGA/CGA (43/25 line) modes:  Some accessories have
  1234.         their own Alt-L.
  1235.  
  1236.     Alt-V    Emulation:  You may select terminal emulation, and enable/
  1237.         disable translation and/or remapping through Alt-V.  Note
  1238.         that both translate and remap require prepared data.
  1239.  
  1240.     Alt-W    Playback:  Display text from a file in the CRT screen area.
  1241.         This may be used to set screen colors using ANSI controls
  1242.         (overriding the screen colors set through Alt-J).
  1243.  
  1244.     Alt =    Menu mode:  Alt-Equal toggles the menu mode interactively.
  1245.  
  1246.  
  1247.     ---------------------------------------------------------------
  1248.     Note also functions defined above under "Commands: both modes".
  1249.     ---------------------------------------------------------------
  1250.  
  1251.  
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264. Version 2.7: 901015
  1265.  
  1266. COM-AND: IBM PC Communications and Accessories                 Page  18
  1267.  
  1268.  
  1269. VIII.    Commands: Accessory only
  1270.  
  1271.  
  1272.     A discussion of accessory commands must properly be refered to the
  1273.     accessory document.  However, a few comments are in order here.
  1274.  
  1275.  
  1276.     Each accessory must have an Alt-P function similar to COM-AND's
  1277.     Alt-P Comm Parms Menu, to allow setting of default parameters.    The
  1278.     defaults have effect when the accessory is NOT run 'piggyback' ('/P'
  1279.     switch) through the DOS gateway of another communications program.
  1280.  
  1281.  
  1282.     Each accessory must have some kind of Alt-S setup command which
  1283.     defines accessory-specific flags and values.  In all accessories
  1284.     currently released, the accessory setup function is available through
  1285.     the 'Controls' pull-down.  When the accessory is loaded '/P', the
  1286.     Alt-S key is enabled to access the accessory setup as well.  [When
  1287.     loaded with COM-AND, Alt-S calls up COM-AND's Setup window.]
  1288.  
  1289.  
  1290.     Each accessory integrated into COM-AND defines Alt-X as program
  1291.     termination:  not accessory termination, but process termination!
  1292.     Use Alt-X from an accessory to terminate the accessory AND the
  1293.     COM-AND program.  Alt-X from COM-AND terminates COM-AND and any
  1294.     loaded accessory.  The F1 key is used to switch between COM-AND and
  1295.     an accessory, and may be used to terminate the accessory without
  1296.     terminating COM-AND.
  1297.  
  1298.  
  1299.     As of version 2.6 of COM-AND, certain accessories will allow COM-AND
  1300.     scripts to be performed while the accessory is active.    This includes
  1301.     scripts executed automatically through Alt-D dialing.
  1302.  
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.  
  1310.  
  1311.  
  1312.  
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318.  
  1319. Version 2.7: 901015
  1320.  
  1321. COM-AND: IBM PC Communications and Accessories                 Page  19
  1322.  
  1323.  
  1324. IX.    Dialing (Alt-D, Alt-R, and Alt-H)
  1325.  
  1326.  
  1327.     A. Dialing (Alt-D)
  1328.  
  1329.        . Dial from directory
  1330.  
  1331.          The dialing directory is invoked with the Alt-D command, in
  1332.          either CRT or accessory mode.  After the directory window is
  1333.          opened, an entry may be dialed by selecting the appropriate
  1334.          number.  The directory entry does not have to be on screen.
  1335.  
  1336.          The entry number you give may be preceded or suffixed with a
  1337.          long distance entry code (+,-,#,@).  Whether you prefix or
  1338.          suffix the code, the long distance entry string will PRECEDE
  1339.          the dialed number.  Timing commands (e.g.    Smartmodem use of
  1340.          "," to pause for a fixed time) may be included.
  1341.  
  1342.          The modem dialing string specified through the Alt-S window
  1343.          is issued; the long distance number (if given) is issued; the
  1344.          telephone number is issued; and finally the dialing suffix
  1345.          string specified through the Alt-S screen is sent.
  1346.  
  1347.          Communications parameters are selected when the dialing direc-
  1348.          tory entry is created.  Each service requires certain settings
  1349.          for comprehensible communications.  However, one note:  COM-AND
  1350.          will change settings to 8 data bits, no parity and 1 stop bit
  1351.          when file transfer commences, if appropriate.  When transfer
  1352.          completes, previous settings are reinstated.  You only need to
  1353.          know what the specific service requires for conversational mode.
  1354.  
  1355.  
  1356.        . Manual dialing (M)
  1357.  
  1358.          From the Alt-D dialing directory, you may invoke manual dialing
  1359.          with the command "M".  You will be asked to enter a number to
  1360.          be dialed.  Enter the number you wish to dial; it will be
  1361.          prefixed with the modem dialing string (specified through the
  1362.          Alt-S window) suffixed with the dialing suffix, and issued.
  1363.  
  1364.          Manually dialed numbers use the communications parameters in
  1365.          effect at the time the number is dialed.  The rule for comm
  1366.          parameters is:  The Comm Parms window (Alt-P) is overridden by
  1367.          run-time parameters; the setting specified by the (last)
  1368.          dialing directory entry used (if any) overrides both.
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374. Version 2.7: 901015
  1375.  
  1376. COM-AND: IBM PC Communications and Accessories                 Page  20
  1377.  
  1378.  
  1379. IX.    Dialing (continued)
  1380.  
  1381.  
  1382.     B. Dialing directory maintenance (Alt-D)
  1383.  
  1384.        . Revise entry (R)
  1385.  
  1386.          A directory entry is revised with the "R" command.  You will be
  1387.          prompted for an entry number (you may use the command "Rn" too,
  1388.          where "n" is the entry number).  Answer each prompt as you want
  1389.          the value to be.  You may cancel the change at any prompt with
  1390.          the ESC key.  When all the prompts are completed you will be
  1391.          asked whether the change is to be saved to disk.  If you say no
  1392.          the change will not be available the next time you use COM-AND.
  1393.  
  1394.        . Delete entry (D)
  1395.  
  1396.          A directory entry is deleted with the "D" command on the Alt-D
  1397.          window.  You will be prompted for the entry number (you may use
  1398.          the command "Dn" too, where "n" is the entry number).  The
  1399.          chosen entry is displayed.  If you answer "y" to the query, the
  1400.          entry will be deleted in memory and on disk.
  1401.  
  1402.        . Revise Long distance directory (L)
  1403.  
  1404.          The Long distance directory is a directory within a directory.
  1405.          Four entries may be created (labelled:  "+", "-", "#", and "@")
  1406.          and then used to prefix a dialing command (or to suffix).
  1407.  
  1408.          The Long distance entry is free form.  Any string that your
  1409.          modem will accept may be entered.    The Long distance directory
  1410.          is pulled-up from the Alt-D window with the command "L".  An
  1411.          entry may be modified by selecting its label ("+","-","#","@").
  1412.  
  1413.        . Print directory (P)
  1414.  
  1415.          The dialing directory (current in memory) is printed from the
  1416.          Alt-D window with the command "P".  Printer output is directed
  1417.          to the standard output device (PRN).  You are prompted to ready
  1418.          the printer.  Strike any key except ESC to begin printing.  ESC
  1419.          cancels the request.
  1420.  
  1421.          The printed directory is two pages, each of 50 lines (plus
  1422.          heading).    Top-of-forms (decimal 12) are issued at the start of
  1423.          each page.  Column headings are similar to the Alt-D headings.
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429. Version 2.7: 901015
  1430.  
  1431. COM-AND: IBM PC Communications and Accessories                 Page  21
  1432.  
  1433.  
  1434. IX.    Dialing (continued)
  1435.  
  1436.  
  1437.     B. Dialing directory maintenance (continued)
  1438.  
  1439.        . Load file (F)
  1440.  
  1441.          A new dialing directory may be loaded with the 'F' command at
  1442.          any time.    Note that when you change the directory file, the
  1443.          change also is reflected in the Alt-S window (but isn't saved
  1444.          for the next time unless you save the values in Alt-S).
  1445.  
  1446.  
  1447.     C. Redial (Alt-R)
  1448.  
  1449.        The last dialing directory entry used to dial (or manual number
  1450.        as entered) may be recalled and redialed.  The redial sequence
  1451.        cycles.  It waits for the "Connect string" (as specified through
  1452.        the Alt-S window) for a fixed period, then resets the modem using
  1453.        the "Escape string" and tries again.  Time spent redialing is
  1454.        updated every time a redial is attempted.
  1455.  
  1456.        You may force a new attempt with the space-bar.  You may change
  1457.        the delay interval by pressing the END key:    you will be prompted
  1458.        for a new value (in seconds).
  1459.  
  1460.  
  1461.     D. Hangup (Alt-H)
  1462.  
  1463.        The connection (if any) may be interrupted and the "Hangup string"
  1464.        (specified through the Alt-S window) issued (or DTR dropped,
  1465.        according to your Alt-O preference), using the Alt-H command.
  1466.  
  1467.        One note about Alt-H hangup:  According to your modem and your
  1468.        setup of COM-AND, it is possible that the connection may not be
  1469.        properly broken.  A second Alt-H may or may not finish the job.
  1470.        Modems configured to follow DTR always respond to dropping DTR.
  1471.  
  1472.        Through Alt-O, you may opt to re-initialize the modem after
  1473.        hangup. The re-initialization will take some time, but insures
  1474.        that the modem is left in a uniform state.
  1475.  
  1476.     E. A note on modem speed
  1477.  
  1478.        Some new modems connect to the PC at one speed and connect to the
  1479.        host at a second speed.  If you use a modem of this type, remember
  1480.        to set the speed in the dialing directory to the speed used modem-
  1481.        to-PC.  Usually this is a higher rate.
  1482.  
  1483.  
  1484. Version 2.7: 901015
  1485.  
  1486. COM-AND: IBM PC Communications and Accessories                 Page  22
  1487.  
  1488.  
  1489. X.    Macros (Alt-M and Alt-0/9)
  1490.  
  1491.  
  1492.     A. Revise entry (0-9)
  1493.  
  1494.        COM-AND is distributed with an empty Macro directory.  Entries are
  1495.        displayed and modified through the Alt-M command.  A macro entry
  1496.        is any string of text which is to be transmitted on-line with one
  1497.        keystroke.  Carriage returns may be embedded in the string (as
  1498.        exclamation points "!" ...  Exclamation points themselves must be
  1499.        entered doubly:  "!!").  Control characters may be embedded in the
  1500.        string (represented as caret/letter "^x" ...  ^a = 1, ^b = 2, and
  1501.        so on...  Carets themselves, too, must be doubled:  "^^").
  1502.  
  1503.  
  1504.        The macro definition window is invoked with Alt-M.  Select the
  1505.        entry number to be revised by entering its number (0...9).  You
  1506.        will be prompted for the new entry.
  1507.  
  1508.        One interesting note:  COM-AND keystrokes may be programmed into
  1509.        macros themselves.  For example, the macro:
  1510.  
  1511.         "^@<SOURCE!"
  1512.  
  1513.        actually invokes the F2 (execute script) window, and passes the
  1514.        name "SOURCE" with a terminating carriage return to the F2 window.
  1515.        The ^@ indicates that the following character is to be interpreted
  1516.        as an 'extended keystroke', i.e. not-ASCII.  The extended charac-
  1517.        ter set is:
  1518.  
  1519.        Macro seq    Key    Macro seq    Key    Macro seq    Key
  1520.        ---------    ---    ---------  -----    ---------  -----
  1521.        ^@;         F1    ^@^^       Alt-A    ^@1       Alt-N
  1522.        ^@<         F2    ^@1       Alt-B    ^@^X       Alt-O
  1523.        ^@=         F3    ^@.       Alt-C    ^@^Y       Alt-P
  1524.        ^@>         F4    ^@ (space) Alt-D    ^@^P       Alt-Q
  1525.        ^@?         F5    ^@^R       Alt-E    ^@^S       Alt-R
  1526.        ^@@         F6    ^@!       Alt-F    ^@^_       Alt-S
  1527.        ^@A         F7    ^@"        Alt-G        ^@^T       Alt-T
  1528.        ^@B         F8    ^@#       Alt-H    ^@^V       Alt-U
  1529.        ^@C         F9    ^@^W       Alt-I    ^@/       Alt-V
  1530.        ^@D        F10    ^@$       Alt-J    ^@^Q       Alt-W
  1531.        ^@I           PgUp    ^@%       Alt-K    ^@-       Alt-X
  1532.        ^@Q           PgDn    ^@&       Alt-L    ^@^U       Alt-Y
  1533.        ^@u        Ctl-End    ^@2       Alt-M    ^@,       Alt-Z
  1534.  
  1535.        Note, too, that Alt-A (requiring "^^") is unprogrammable.  It may
  1536.        be entered as decimal 30 (use Alt and numeric pad keys).
  1537.  
  1538.  
  1539. Version 2.7: 901015
  1540.  
  1541. COM-AND: IBM PC Communications and Accessories                 Page  23
  1542.  
  1543.  
  1544. X.    Macros (continued)
  1545.  
  1546.  
  1547.     A. Revise entry (continued)
  1548.  
  1549.        In the above example, the F2 key was represented by "^@<".  When
  1550.        the F2 key is pressed a window is opened and a search for all
  1551.        files *.CMD and *.ENF takes place.  In simpler terms, pressing the
  1552.        F2 key takes TIME.  COM-AND defines the ASCII value 255 as a short
  1553.        cut to execute a script or script statement.  The macro:
  1554.  
  1555.         " SOURCE!"
  1556.  
  1557.        where the first character (displayed as blank) is ASCII 255, will
  1558.        perform the same sequence... without opening the F2 window.
  1559.  
  1560.  
  1561.        DOS provides an obscure method for entering characters by their
  1562.        ASCII value.  To enter the ASCII value 255:    hold down the
  1563.        Alt-key, type '2' on the numeric pad, then type '5' on the numeric
  1564.        pad, then type '5' again on the numeric pad, and finally, release
  1565.        the Alt-key.  The Alt-key must be held for the duration of the
  1566.        2-5-5.  The numeric pad must be used.
  1567.  
  1568.  
  1569.        If the first character following the 255 is ".", the text will be
  1570.        executed as a single script command.  Otherwise, the text is
  1571.        interpreted as a script file name to be executed.  In this way
  1572.        single script statements or entire script files may be tied to a
  1573.        macro key (Alt-0 through Alt-9).
  1574.  
  1575.     B. Load a new file (Alt-M subcommand F)
  1576.  
  1577.        When COM-AND is loaded, the Macro Definition file as named through
  1578.        the Alt-S setup menu is loaded.  You may load a different file of
  1579.        macros after that point with the (F)ile subcommand of Alt-M.  Note
  1580.        that when you change the macro definition file, the change also is
  1581.        reflected in the Alt-S window (but isn't saved for the next time
  1582.        unless you save the values in Alt-S).
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591.  
  1592.  
  1593.  
  1594. Version 2.7: 901015
  1595.  
  1596. COM-AND: IBM PC Communications and Accessories                 Page  24
  1597.  
  1598.  
  1599. X.    Macros (continued)
  1600.  
  1601.  
  1602.     C. Clear entries (Alt-M subcommand C)
  1603.  
  1604.        You may clear all macro definitions in COM-AND's memory (but not
  1605.        in the current file) with the (C)lear command.  To clear the file,
  1606.        make blank entries (blank, <cr>) for 0-9.
  1607.  
  1608.  
  1609.     D. Execute entry (Alt-0 through Alt-9)
  1610.  
  1611.        Macros are issued with the commands Alt-0 through Alt-9, outside
  1612.        of Alt-M.  The entry indicated by the number will be immediately
  1613.        issued.  What happens after that is strictly up to what you've
  1614.        entered, the service you're on, and the people around you.
  1615.  
  1616.  
  1617.  
  1618.  
  1619.  
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626.  
  1627.  
  1628.  
  1629.  
  1630.  
  1631.  
  1632.  
  1633.  
  1634.  
  1635.  
  1636.  
  1637.  
  1638.  
  1639.  
  1640.  
  1641.  
  1642.  
  1643.  
  1644.  
  1645.  
  1646.  
  1647.  
  1648.  
  1649. Version 2.7: 901015
  1650.  
  1651. COM-AND: IBM PC Communications and Accessories                 Page  25
  1652.  
  1653.  
  1654. XI.    Encrypt/Decrypt (Alt-N)
  1655.  
  1656.  
  1657.     Beginning with version 2.2, COM-AND performs file encryption and
  1658.     decryption.  COM-AND encrypted script files are automatically
  1659.     recognized and decrypted in memory.  Dialing directory, Macro
  1660.     definition and Accessory definition files are not automatically
  1661.     decrypted, but might be decrypted and reloaded through a script.
  1662.  
  1663.  
  1664.     COM-AND implements three encryption methods:
  1665.  
  1666.     o full Federal Data Encryption Standard;  the DES algorithm in
  1667.       software is not fast but may be considered fairly secure.  The
  1668.       DES is appropriate for files you wish to exchange publicly,
  1669.       but wish to secure.  However, it is SLOW.
  1670.  
  1671.     o a simple encryption method;  this method is appropriate for
  1672.       script files which you plan to keep on your own machine, and
  1673.       only wish to protect from casual perusal (e.g. passwords).
  1674.  
  1675.     o a one-way encryption method;    this method is only for scripts.
  1676.       No password is required for this encryption.    When a script
  1677.       file encrypted this way is encountered, no password prompt is
  1678.       issued to the screen.  COM-AND will not decrypt one-way encrypted
  1679.       files from Alt-N.
  1680.  
  1681.  
  1682.     The Federal Data Encryption encodes data in 64-bit 'chunks'; each
  1683.     bit of each byte goes through many transformations, and may end up
  1684.     anywhere in the 64-bit area.  The simpler methods also encodes
  1685.     in chunks, but do not 'smear bits'.
  1686.  
  1687.  
  1688.     DES encryption is most secure.    'Simple' encryption is less secure.
  1689.     One-way encryption is least secure (it is present because transparent
  1690.     script decryption was requested).
  1691.  
  1692.  
  1693.     Encrypted files are slightly larger that the original file.  Infor-
  1694.     mation as to true file size, file date/time and CRC checking is added
  1695.     to the file.  When the file is decrypted, the method used to encrypt
  1696.     is recognized automatically, and the file is restored to its original
  1697.     size, date and time.  The decrypted file is deleted immediately if
  1698.     a CRC check fails.
  1699.  
  1700.  
  1701.  
  1702.  
  1703.  
  1704. Version 2.7: 901015
  1705.  
  1706. COM-AND: IBM PC Communications and Accessories                 Page  26
  1707.  
  1708.  
  1709. XI.    Encrypt/Decrypt (continued)
  1710.  
  1711.  
  1712.     When you encrypt or decrypt a file (or when the script processor
  1713.     recognizes an encrypted file with the exception of one-way encryp-
  1714.     tion) you will be asked for a password.  COM-AND accepts up to 32
  1715.     characters for the password, and uses them to derive a 'key' for
  1716.     the file.  The password you supply is not the decrypting key.  For
  1717.     maximum protection, it is recommended that you use the full 32
  1718.     characters for the password.
  1719.  
  1720.     ---------------------------------------------------------------------
  1721.     However, you must be able (somehow) to remember the password.  Should
  1722.     you lose the password, or if the encrypted file is modified in any
  1723.     manner, there is very little chance of recovering the data.  Neither
  1724.     CABER Software nor the author will be liable for any damages or lost
  1725.     revenues incured through the use of this function beyond the
  1726.     registration price paid for COM-AND.
  1727.     ---------------------------------------------------------------------
  1728.  
  1729.  
  1730.     Encryption and decryption must be performed from one (input) file to
  1731.     another different (output) file.  Do not attempt to encrypt or
  1732.     decrypt a file over itself.  If there is insufficient space on the
  1733.     target disk for the file, you will be told, and allowed to select a
  1734.     new target disk or diskette or to abort.
  1735.  
  1736.  
  1737.     Alt-N invokes a menu allowing selection of Encryption or Decryption.
  1738.     You will be prompted for each required parameter.  When the process
  1739.     begins, a display similar to file transfers provides an estimate for
  1740.     the time required and a measure of its performance.
  1741.  
  1742.  
  1743.     The COM-AND script processor searches for the extension ".ENF" as
  1744.     well as ".CMD".  The script processor searches first for the given
  1745.     file name.  If no match is found it then searches for the same file
  1746.     name with the extension ".CMD".  If no match is found the second
  1747.     time, it searches for the same file name with the extension ".ENF".
  1748.     [If the name was unqualified with drive:subdirectory and if there
  1749.     is a COM-AND= environment variable, another three searches will be
  1750.     performed on the drive:subdirectory indicated by the COM-AND=
  1751.     variable.]
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759. Version 2.7: 901015
  1760.  
  1761. COM-AND: IBM PC Communications and Accessories                 Page  27
  1762.  
  1763.  
  1764. XI.    Encrypt/Decrypt (continued)
  1765.  
  1766.  
  1767.     Thus, if you wish to encrypt a script file with no extension or with
  1768.     the extension ".CMD", you must use one of two strategies:
  1769.  
  1770.     o  encrypt the file using a DIFFERENT name... and use the
  1771.        different name when invoking the script (F2)... or
  1772.  
  1773.     o  encrypt the file to the same name with the extension ".ENF"
  1774.        and then delete the original (after backup of course).
  1775.  
  1776.  
  1777.     It is suggested that either the 'simple' method or 'one-way' method
  1778.     be used to encode script files.  Script files encoded with these
  1779.     methods are decrypted and executed transparently...  there will be
  1780.     perceptible delays if the DES encryption is used for a large script.
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786.  
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795.  
  1796.  
  1797.  
  1798.  
  1799.  
  1800.  
  1801.  
  1802.  
  1803.  
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813.  
  1814. Version 2.7: 901015
  1815.  
  1816. COM-AND: IBM PC Communications and Accessories                 Page  28
  1817.  
  1818.  
  1819. XII.    Program Configuration (Alt-S, Alt-P, Alt-O, and Alt-J)
  1820.  
  1821.  
  1822.     A. Setup Screen (Alt-S)
  1823.  
  1824.        1. Modem control
  1825.  
  1826.           . Modem initialization string
  1827.  
  1828.         The modem initialization string is issued when COM-AND is
  1829.         first loaded.  It is not issued when the port is changed
  1830.         during execution.  If blank, it will be ignored.  Carriage
  1831.         returns and control characters are specified as with macros.
  1832.         Refer to Appendix M (Modem Configuration) for examples.
  1833.  
  1834.           . Modem dialing prefix
  1835.  
  1836.         The Modem dialing prefix commands the modem to begin a
  1837.         dialing sequence.  It is followed by a number from the
  1838.         dialing directory (and long distance string, if specified).
  1839.  
  1840.           . Modem dialing suffix
  1841.  
  1842.         The Modem dialing string terminates each dialing command.
  1843.         For Hayes type modems it should be a "!" (translated by
  1844.         COM-AND to be a <cr>).    It may be any string appropriate to
  1845.         your modem.  Carriage returns and control characters are
  1846.         specified as with macros.
  1847.  
  1848.           . Hangup string
  1849.  
  1850.         The hangup string is issued through the Alt-H command (after
  1851.         a modem escape is issued), if "drop DTR" is not set in Alt-O.
  1852.         Carriage returns and control characters are specified as
  1853.         with macros.  Delays of 1/2 second each may be specified
  1854.         with a tilde (~) (see "modem delay char" below).
  1855.  
  1856.           . Escape string
  1857.  
  1858.         The modem escape is issued before the hangup string (Alt-H),
  1859.         and before each redial (Alt-R).  Delays of 1/2 second each
  1860.         are specified with a tilde (~).  Carriage returns and
  1861.         control characters are specified as with macros.
  1862.  
  1863.           . Connect string
  1864.  
  1865.         The connect string is used by the Alt-D dial and Alt-R redial
  1866.         commands to determine when connection has been made.
  1867.  
  1868.  
  1869. Version 2.7: 901015
  1870.  
  1871. COM-AND: IBM PC Communications and Accessories                 Page  29
  1872.  
  1873.  
  1874. XII.    Program Configuration (continued)
  1875.  
  1876.  
  1877.     A. Setup Screen (continued)
  1878.  
  1879.        2. Files
  1880.  
  1881.           All files specified here are searched under the current
  1882.           drive:subdirectory, and under the drive:subdirectory
  1883.           indicated through the COM-AND= environment variable, unless
  1884.           the name given is explicitly qualified.
  1885.  
  1886.           . Call-log file name
  1887.  
  1888.         The call-log file name determines the file to be opened
  1889.         to receive call-logging (if call-logging is enabled, see
  1890.         below, Alt-O Options).
  1891.  
  1892.           . Dialing directory
  1893.  
  1894.         The dialing directory file is used to initialize the
  1895.         program's dialing directory.  The current dialing directory
  1896.         may be changed at any time from within COM-AND.
  1897.  
  1898.           . Macro Directory
  1899.  
  1900.         The macro directory file is used to initialize the
  1901.         program's macro definitions.  You may change the current
  1902.         macro definition at any time from within COM-AND.
  1903.  
  1904.          .    Accessory directory
  1905.  
  1906.         The COM-AND accessory function F1 requires a file to contain
  1907.         definitions for accessories.  You may have several files of
  1908.         definitions and change at any time from within COM-AND.
  1909.  
  1910.           . RLE temporary file
  1911.  
  1912.         COM-AND will recognize RLE graphics images when they are
  1913.         encountered in the received stream, and buffer the image to
  1914.         disk.  This file name specifies the temporary file name.
  1915.  
  1916.  
  1917.  
  1918.  
  1919.  
  1920.  
  1921.  
  1922.  
  1923.  
  1924. Version 2.7: 901015
  1925.  
  1926. COM-AND: IBM PC Communications and Accessories                 Page  30
  1927.  
  1928.  
  1929. XII.    Program Configuration (continued)
  1930.  
  1931.  
  1932.     A. Setup Screen (continued)
  1933.  
  1934.        3. Timings and Values
  1935.  
  1936.           . Backscreen buffer size
  1937.  
  1938.         Up to 64K for the backscreen buffer may be selected (or turn
  1939.         it off altogether by setting it to 0K).  This buffer is used
  1940.         by the Alt-B redisplay, and by the F7 transcript command.
  1941.  
  1942.           . Break delay
  1943.  
  1944.         COM-AND issues a true break through the Ctl-End key.  The
  1945.         duration of the break is controlled here.  "Break delay"
  1946.         specifies the number of milliseconds the comm line is held.
  1947.  
  1948.           . Alarm duration
  1949.  
  1950.         The alarm duration value gives the number of seconds the
  1951.         alarm tune sounds when a function is terminated.  Set this
  1952.         to zero to inhibit the special termination alarm.
  1953.  
  1954.           . Modem char delay
  1955.  
  1956.         The modem char delay gives the number of milliseconds COM-
  1957.         AND delays after each character of a modem control sequence
  1958.         (e.g.  dialing, hangup, initialization).  Certain modems
  1959.         require their control sequences be enunciated slowly.
  1960.  
  1961.           . Reconnect delay
  1962.  
  1963.         The interval between Alt-R redial (and scripted dialing)
  1964.         attempts is established here.  45 seconds is recommended for
  1965.         long distance dialing.    30 seconds is usual for local calls.
  1966.  
  1967.           . Chat Window
  1968.  
  1969.         The size of the lower window of chat mode (where what you
  1970.         type appears) may be changed.  The size of the chat window
  1971.         is limited to between 2 and 10 lines.
  1972.  
  1973.           . Bell tone
  1974.  
  1975.         COM-AND implements its own bell sound.    You may set the tone
  1976.         to any frequency (in Hz) that pleases.
  1977.  
  1978.  
  1979. Version 2.7: 901015
  1980.  
  1981. COM-AND: IBM PC Communications and Accessories                 Page  31
  1982.  
  1983.  
  1984. XII.    Program Configuration (continued)
  1985.  
  1986.  
  1987.     A. Setup Screen (continued)
  1988.  
  1989.        3. Timings and Values
  1990.  
  1991.           . Mouse vertical sensitivity
  1992.  
  1993.         The vertical sensitivity of the mouse may be set here.
  1994.         The higher the value used, the less sensitive the mouse.
  1995.         The most sensitive value is 0.
  1996.  
  1997.           . Mouse horizontal sensitivity
  1998.  
  1999.         The horizontal sensitivity of the mouse may be set here.
  2000.         The higher the value used, the less sensitive the mouse.
  2001.         The most sensitive value is 0.
  2002.  
  2003.           . Mouse double click interval
  2004.  
  2005.         The double click interval of the mouse may be set here.
  2006.         When a mouse button is pressed twice within this interval a
  2007.         different action is taken than when it is only pressed once.
  2008.  
  2009.           . Modem delay character
  2010.  
  2011.         The modem delay character defaults to a tilde (ASCII 126).
  2012.         It represents a 1/2 second display in strings sent to the
  2013.         modem (above) and strings sent with the script command
  2014.         TRANSMIT.  It may be redefined here if you wish.
  2015.  
  2016.           . Xfer Screen Update Interval
  2017.  
  2018.         At 9600 baud and above, the time taken to paint the status
  2019.         screen becomes a significant percentage of the overall time
  2020.         required for a file transfer.  Setting the screen update
  2021.         interval to '5' will have a visible impact even at 2400 baud.
  2022.  
  2023.  
  2024.        4. Save
  2025.  
  2026.           You may change values for one execution of COM-AND, or you
  2027.           may change them for all subsequent executions of COM-AND.  If
  2028.           you save values, the values you've saved will be set the next
  2029.           time you use COM-AND.
  2030.  
  2031.  
  2032.  
  2033.  
  2034. Version 2.7: 901015
  2035.  
  2036. COM-AND: IBM PC Communications and Accessories                 Page  32
  2037.  
  2038.  
  2039. XII.    Program Configuration (continued)
  2040.  
  2041.  
  2042.     B. Communications Parameters (Alt-P)
  2043.  
  2044.        Do not change the current setting after you've connected to a ser-
  2045.        vice.  XMODEM, YMODEM, ZMODEM, and CIS-B transfers can change (and
  2046.        do change) to no parity (if necessary), but you shouldn't.
  2047.  
  2048.        1. Port speed (baud)
  2049.  
  2050.           Baud rate is specified through the first selections of the
  2051.           Alt-P window.  Other parameters (parity, data bits, and stop
  2052.           bits) may be set individually or in combination (below).
  2053.  
  2054.        2. E,7,1 and N,8,1
  2055.  
  2056.           For convenience, the combinations Even parity/7 data bits/1
  2057.           stop bit, and No parity/8 data bits/1 stop bit are provided
  2058.           after the port speed selections.
  2059.  
  2060.        3. Parity, Data bits and Stop bits
  2061.  
  2062.           Individual settings for parity, number of data bits and number
  2063.           of stop bits comprise the next items of this menu.  You also
  2064.           set these values when you create a dialing directory entry.
  2065.  
  2066.        4. COM ports
  2067.  
  2068.           The last items on this menu are the candidates for COM ports.
  2069.           Select the appropriate port for your modem.  This item is
  2070.           usually selected once, and then left alone.
  2071.  
  2072.           NOTE:  If your computer is equipped with fewer than four serial
  2073.           ports, an attempt to configure a missing port results in the
  2074.           report that the port speed is 115k baud.    When a board is added
  2075.           with the additional port (e.g.  an internal modem set to work
  2076.           as COM3 or COM4), COM-AND will recognize it.
  2077.  
  2078.        -----------------------------------------------------------------
  2079.        Note:  All parameters may be set through the command parameters.
  2080.        These parameters override the Alt-P default settings.  Example:
  2081.  
  2082.           "d>" COM-AND COM3 1200 DATA8 STOP1 NONE
  2083.  
  2084.        Refer to Appendix A for the list of run-command parameters.
  2085.        -----------------------------------------------------------------
  2086.  
  2087.  
  2088.  
  2089. Version 2.7: 901015
  2090.  
  2091. COM-AND: IBM PC Communications and Accessories                 Page  33
  2092.  
  2093.  
  2094. XII.    Program Configuration (continued)
  2095.  
  2096.  
  2097.     B. Communications Parameters (continued)
  2098.  
  2099.        5. Save
  2100.  
  2101.           Current settings for the next execution of COM-AND are saved
  2102.           through the "Save" selection.  Settings are saved to disk.
  2103.  
  2104.        6. Set Base/IRQ
  2105.  
  2106.           COM-AND defaults the four supported comm ports to the values:
  2107.  
  2108.           COM1:  base address: 0x3f8, interrupt request # 4
  2109.           COM2:  base address: 0x2f8, interrupt request # 3
  2110.           COM3:  base address: 0x3e8, interrupt request # 4
  2111.           COM4:  base address: 0x2e8, interrupt request # 3
  2112.  
  2113.           These may be changed through a submenu of the Alt-P menu.
  2114.           Select 'Set Base/IRQ', and the submenu is opened.  Current
  2115.           values are displayed.  Select a port and you will be prompted
  2116.           for new values.
  2117.  
  2118.           Each port's base address is limited to the values 0-1023 (or
  2119.           0 through 0x3ff).  Each port's interrupt request number is
  2120.           limited to the values 0-7.
  2121.  
  2122.           The default values are appropriate for most applications.
  2123.           Most people will never need to change these settings.  How
  2124.           ever, should you need to do so, the capability is available.
  2125.  
  2126.           DO NOT CHANGE these assignments unless you are sure you have
  2127.           need to do so, and have the correct values at hand.  If you
  2128.           do not save the changes, COM-AND will revert to the defaults
  2129.           the next time it is loaded (after a Control-Alt-Delete, for
  2130.           example!).
  2131.  
  2132.           If COM-AND is directed to use a comm port address thatdoes not
  2133.           does not exist in fact, the result may range from: nothing
  2134.           happening whatsoever, to complete machine lockup (if there IS
  2135.           in fact a device at that address able to respond to interrupt
  2136.           requests).  It is recommended that new settings be tried before
  2137.           they are saved.
  2138.  
  2139.           The meaning of the 'names' COM1, COM2, COM3, and COM4, as far
  2140.           as COM-AND is concerned, are determined simply by these
  2141.           assignments.
  2142.  
  2143.  
  2144. Version 2.7: 901015
  2145.  
  2146. COM-AND: IBM PC Communications and Accessories                 Page  34
  2147.  
  2148.  
  2149. XII.    Program Configuration (continued)
  2150.  
  2151.  
  2152.     C. Options (Alt-O)
  2153.  
  2154.        1. Settings otherwise available
  2155.  
  2156.           . Echo  (also Alt-E)
  2157.  
  2158.         Some services turn around what you type so that you see it
  2159.         (full duplex or echoplex), and some don't (half duplex).
  2160.         You may force COM-AND to display what you enter in the CRT
  2161.         window by toggling echo.  Setting echo on (through the Alt-O
  2162.         window) will turn echo on now.    Saving it will cause echo to
  2163.         be turned on the next time you run COM-AND.  Echo is toggled
  2164.         dynamically with the Alt-E command.
  2165.  
  2166.           . Parity mask (also Alt-Z)
  2167.  
  2168.         You may mask parity from received text by setting the parity
  2169.         mask on permanently through the Alt-O window.  I've found
  2170.         this to be useful; mandatory when I've needed it.  Parity
  2171.         masking is toggled dynamically with the Alt-Z command.
  2172.  
  2173.           . Keyboard display  (also F8)
  2174.  
  2175.         Some talk systems are more friendly when what you type is
  2176.         not mixed in with what you receive.  Turning system echo off
  2177.         (if the system echoes key-entry) is accomplished in a number
  2178.         of ways (note that this is different from Alt-E above), each
  2179.         unique to the particular system.
  2180.  
  2181.         However, all of a sudden there is a new problem: you don't
  2182.         see what you're typing!  Keyboard display in COM-AND is one
  2183.         attempt to solve this problem.    What you type will be
  2184.         displayed on the status line when keyboard display is turned
  2185.         on.  You may enable it on permanently through this option.
  2186.         Keyboard display may be toggled dynamically with F8.
  2187.  
  2188.           . Chat mode (also Alt-A)
  2189.  
  2190.         Chat mode is another attempt to allow you to see what you've
  2191.         typed when echo has been turned off.  Instead of just one
  2192.         line of keyboard display, chat mode allows you to see the
  2193.         last few (up to 10) lines you have typed.  Chat mode is
  2194.         toggled dynamically with Alt-A.
  2195.  
  2196.  
  2197.  
  2198.  
  2199. Version 2.7: 901015
  2200.  
  2201. COM-AND: IBM PC Communications and Accessories                 Page  35
  2202.  
  2203.  
  2204. XII.    Program Configuration (continued)
  2205.  
  2206.  
  2207.     C. Options (Alt-O) (continued)
  2208.  
  2209.        1. Settings otherwise available (continued)
  2210.  
  2211.           . Blank line suppression (also Alt-G)
  2212.  
  2213.         You may enable blank line suppression on when COM-AND is
  2214.         loaded, through this selection.  Blank line suppression is
  2215.         dynamically toggled with Alt-G.
  2216.  
  2217.           . In/Out Translate (also Alt-V)
  2218.  
  2219.         You may turn on in/out character translation on when COM-AND
  2220.         is loaded, through this option.  Note that the file COM-AND.
  2221.         XLT must be prepared prior to the use of this function.
  2222.         COM-AND.XLT is prepared with the script XLATE.CMD.
  2223.  
  2224.           . Remapping (also Alt-V)
  2225.  
  2226.         You may turn on keyboard remapping on when COM-AND is loaded,
  2227.         through this option.  Note that the file COM-AND.RMP must be
  2228.         prepared prior to the use of this function.  Please refer to
  2229.         to the script REMAP.CMD and its documentation REMAP.DOC.
  2230.  
  2231.        2. Settings available only through Alt-O
  2232.  
  2233.           . Nondestructive Backspace
  2234.  
  2235.         You may toggle a destructive/nondestructive backspace func-
  2236.         tion through this option.  Nondestructive backspaces are not
  2237.         required by many systems, but now and then it comes up.
  2238.  
  2239.           . Backspace sent as delete
  2240.  
  2241.         You may toggle the character transmitted as a backspace func-
  2242.         tion through this option.  Either backspace (decimal 8), or
  2243.         delete (decimal 127, a.k.a. rubout) may be transmitted.
  2244.  
  2245.           . CR -> CRLF received
  2246.  
  2247.         You may toggle a CR/CRLF on received CR function through this
  2248.         option.  Most systems generate a CR and a LF to terminate a
  2249.         line, but a few only generate a CR.
  2250.  
  2251.  
  2252.  
  2253.  
  2254. Version 2.7: 901015
  2255.  
  2256. COM-AND: IBM PC Communications and Accessories                 Page  36
  2257.  
  2258.  
  2259. XII.    Program Configuration (continued)
  2260.  
  2261.  
  2262.     C. Options (Alt-O) (continued)
  2263.  
  2264.        2. Settings available only through Alt-O (continued)
  2265.  
  2266.           . Alarm noise
  2267.  
  2268.         An alarm tune (of sorts) sounds when the Alt-R redial makes
  2269.         connection, and when file transfer is complete.  The noise
  2270.         is also played when certain error conditions occur.
  2271.  
  2272.         When disabled, the alarm window is held open without noise.
  2273.         The duration of the noise (or noiseless pause) is controlled
  2274.         through Alt-S Setup.
  2275.  
  2276.           . Exit query
  2277.  
  2278.         Some people disdain the query "do you really and truly mean
  2279.         it" when they type Alt-X.  Some feel it mandatory.  COM-AND
  2280.         is distributed with exit query disabled.  You may enable it,
  2281.         if you're so inclined, through this Alt-O selection.
  2282.  
  2283.           . Mark transcript
  2284.  
  2285.         COM-AND will mark every disk transcript taken (beginning and
  2286.         end) with the date and time.  You tell COM-AND not to mark
  2287.         further transcripts through this Alt-O selection.
  2288.  
  2289.         The transcript function also has the capability to add the
  2290.         backscreen (the full backscreen buffer's worth) to the
  2291.         transcript.  Turning transcript marking off means that there
  2292.         will be no delimiter between the backscreen and transcript.
  2293.  
  2294.           . Initial advertisement
  2295.  
  2296.         When COM-AND was distributed, the Information screen (Alt-I)
  2297.         was set to be displayed when the program was run.  You turn
  2298.         the display off through this Alt-O setting.
  2299.  
  2300.           . Use BIOS for screen saves
  2301.  
  2302.         You may set BIOS screen accesses permanently through this
  2303.         option.  COM-AND defaults to direct screen buffer reads and
  2304.         writes.  Some machines (and environments, like Windows)
  2305.         require this option be set.  See also Appendix J on multi-
  2306.         tasking, and "Use DOS for screen writes", below.
  2307.  
  2308.  
  2309. Version 2.7: 901015
  2310.  
  2311. COM-AND: IBM PC Communications and Accessories                 Page  37
  2312.  
  2313.  
  2314. XII.    Program Configuration (continued)
  2315.  
  2316.  
  2317.     C. Options (Alt-O) (continued)
  2318.  
  2319.        2. Settings available only through Alt-O (continued)
  2320.  
  2321.           . Use DOS for screen writes
  2322.  
  2323.         You may set DOS screen writes permanently through this
  2324.         option.  When received text is written through DOS, ANSI.SYS
  2325.         or other console driver is invoked (if you turn all emulation
  2326.         off).  See also Appendix J on multi-tasking, and "Use BIOS
  2327.         for screen saves", above.
  2328.  
  2329.           . Display control characters
  2330.  
  2331.         COM-AND permits displayable control characters to be dis-
  2332.         played (as many BBS's use them).  You may turn this feature
  2333.         off and on through Alt-O according to the system you use.
  2334.  
  2335.           . Software flow control (XON/XOFF)
  2336.  
  2337.         COM-AND supports software flow control using the XON/XOFF
  2338.         discipline for receipt and for ASCII sends.  You may enable
  2339.         and disable this feature according to the system you use.
  2340.  
  2341.           . Hardware flow control (unidirectional)
  2342.  
  2343.         COM-AND supports a hardware flow control, raising RTS before
  2344.         transmitting and waiting for CTS.  This function may be
  2345.         permanently established here, according to your modems needs.
  2346.  
  2347.           . RTS Flow control (bidirectional)
  2348.  
  2349.         COM-AND supports a second manner of hardware flow control,
  2350.         raising RTS when able to receive and waiting for CTS before
  2351.         transmitting.  This function may be permanently established
  2352.         here, according to your modem.
  2353.  
  2354.  
  2355.  
  2356.  
  2357.  
  2358.  
  2359.  
  2360.  
  2361.  
  2362.  
  2363.  
  2364. Version 2.7: 901015
  2365.  
  2366. COM-AND: IBM PC Communications and Accessories                 Page  38
  2367.  
  2368.  
  2369. XII.    Program Configuration (continued)
  2370.  
  2371.  
  2372.     C. Options (Alt-O) (continued)
  2373.  
  2374.        2. Settings available only through Alt-O (continued)
  2375.  
  2376.           . Drop DTR to hangup
  2377.  
  2378.         COM-AND disconnects either (1) by dropping DTR momentarily or
  2379.         (2) using the hangup escape sequence specified in the Alt-S
  2380.         setup.    Only use the first method if your modem is configured
  2381.         to follow DTR (see Appendix M, Modem Configuration).
  2382.  
  2383.           . Re-initialize modem after HANGUP
  2384.  
  2385.         COM-AND will, or will not retransmit the modem initialization
  2386.         string (Alt-S above) after a HANGUP is performed.  If modem
  2387.         settings are altered for individual hosts, reinitializing
  2388.         after HANGUP ensures that the modem is always in a proper
  2389.         default state.
  2390.  
  2391.           . Call-logging
  2392.  
  2393.         COM-AND logs successful connections, hangup, carrier drop-
  2394.         outs, file transfers and file encrypt/decryptions to a
  2395.         call-log when call-logging is enabled.    The name of the
  2396.         current call-log is declared through Alt-S.
  2397.  
  2398.           . Screen clock
  2399.  
  2400.         COM-AND will display the current time (as "hh:mm:ss" if no
  2401.         connection is known, and as "hh:mm (hh:mm)" showing current
  2402.         time and time since connection) on the status line when the
  2403.         Alt-O screen clock is enabled.
  2404.  
  2405.           . Suppress bells
  2406.  
  2407.         COM-AND will suppress bell characters received if this option
  2408.         is enabled.
  2409.  
  2410.           . Menu mode
  2411.  
  2412.         COM-AND supports a menu mode allowing most all customary
  2413.         functions to be performed with a mouse.  This mode may be
  2414.         set permanently here (interactively toggled with Alt equal).
  2415.  
  2416.  
  2417.  
  2418.  
  2419. Version 2.7: 901015
  2420.  
  2421. COM-AND: IBM PC Communications and Accessories                 Page  39
  2422.  
  2423.  
  2424. XII.    Program Configuration (continued)
  2425.  
  2426.  
  2427.     C. Options (Alt-O) (continued)
  2428.  
  2429.        2. Settings available only through Alt-O (continued)
  2430.  
  2431.           . Respect CD
  2432.  
  2433.         COM-AND monitors carrier detect unless you turn the function
  2434.         off through Alt-O (or the /T run-time switch).    Carrier
  2435.         detect (CD) is monitored during file transfers and after
  2436.         successful connection through the dialing directory.
  2437.  
  2438.           . PCJr (disk I/O suspends comm)
  2439.  
  2440.         PCJr mode suspends the comm line (with an X-OFF) during disk
  2441.         I/O.  You may set/reset PCJr mode through this option.
  2442.  
  2443.           . Capture/Display RLE files
  2444.  
  2445.         COM-AND recognizes RLE files as they are received, and cap-
  2446.         tures them to disk while displaying them (if you have EGA
  2447.         or CGA).  It may be permanently enabled it here.  See also
  2448.         Appendix J on multi-tasking.
  2449.  
  2450.           . Allow MUSIC
  2451.  
  2452.         COM-AND will play music escape sequences when received if
  2453.         this function is enabled.  Music escape sequences are of the
  2454.         form: "ESC,[,M,<BASICA encoded string>,^N".
  2455.  
  2456.           . Allow REMOTE
  2457.  
  2458.         COM-AND implements a REMOTE function performing script
  2459.         commands received over the communications line.  REMOTE
  2460.         sequences are of the form:  "ESC,^,<script command>,<cr>".
  2461.  
  2462.           . Slow output
  2463.  
  2464.         COM-AND performs file transfers at an unusually high speed.
  2465.         The technique is called 'interrupt driven writes'.  Some Net-
  2466.         work modems fail when pressed so hard.    This option may be
  2467.         used to slow COM-AND file transfers down a bit.
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474. Version 2.7: 901015
  2475.  
  2476. COM-AND: IBM PC Communications and Accessories                 Page  40
  2477.  
  2478.  
  2479. XII.    Program Configuration (continued)
  2480.  
  2481.  
  2482.     C. Options (Alt-O) (continued)
  2483.  
  2484.        2. Settings available only through Alt-O (continued)
  2485.  
  2486.           . ZMODEM auto download
  2487.  
  2488.         COM-AND will start a ZMODEM receive under the host's control
  2489.         when this option is enabled.  It may be disabled to avoid
  2490.         false triggers (for example, by "friends" in CB/chat).
  2491.  
  2492.           . ZMODEM recovery
  2493.  
  2494.         The ZMODEM protocol defines a 'recovery' function for down-
  2495.         loads.    When the file being received already exists, and this
  2496.         option is enabled, the transfer picks up at the end of the
  2497.         file (presumably where a failed transfer ended).  [The prev-
  2498.         ious transfer may have used any protocol (!).] When disabled,
  2499.         ZMODEM downloads go to a unique file name each time.
  2500.  
  2501.  
  2502.        3. Save
  2503.  
  2504.           Values set through this screen are not automatically saved
  2505.           to disk.    Values set through this screen are immediately
  2506.           used by COM-AND.    To configure COM-AND to have the same
  2507.           settings the next time it is loaded, you must save them with
  2508.           the "Save" selection of the Alt-O menu.
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522.  
  2523.  
  2524.  
  2525.  
  2526.  
  2527.  
  2528.  
  2529. Version 2.7: 901015
  2530.  
  2531. COM-AND: IBM PC Communications and Accessories                 Page  41
  2532.  
  2533.  
  2534. XII.    Program Configuration (continued)
  2535.  
  2536.  
  2537.     D. Colors (Alt-J)
  2538.  
  2539.        You may set foreground and background colors for
  2540.  
  2541.           (1) the CRT text area,
  2542.  
  2543.           (2) the status line, and
  2544.  
  2545.           (3) main menus (queries are set to black on white for
  2546.           contrast).
  2547.  
  2548.  
  2549.        The color names are those used in the IBM Technical Reference;
  2550.        if you have different names for some of the color values, I
  2551.        apologize.  My wife and I have argued for years over 'beige'.
  2552.  
  2553.  
  2554.        If the "Use DOS for screen writes" option is set, then the text
  2555.        colors selected above will be ignored.  If this option is set,
  2556.        and the internal ANSI emulator is not turned off, then no color
  2557.        at all (beyond your DOS configuration) is available for text.
  2558.  
  2559.  
  2560.        Like other option menus, you may experiment with settings.
  2561.        Unless you save your settings, they are lost when the program
  2562.        terminates.
  2563.  
  2564.  
  2565.  
  2566.  
  2567.  
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575.  
  2576.  
  2577.  
  2578.  
  2579.  
  2580.  
  2581.  
  2582.  
  2583.  
  2584. Version 2.7: 901015
  2585.  
  2586. COM-AND: IBM PC Communications and Accessories                 Page  42
  2587.  
  2588.  
  2589. XIII.    File Transfer (PgUp, PgDn, Alt-F and F4)
  2590.  
  2591.  
  2592.     COM-AND supports several file transfer methods, to and from your PC.
  2593.     Transfers to your PC are called downloads (down from the host).  File
  2594.     transfers from your PC are called uploads (up to the host).  The file
  2595.     transfer methods currently implemented are:
  2596.  
  2597.     o    XMODEM         (Windowed, CRC and checksum)
  2598.     o    YMODEM         (BBS YMODEM, a.k.a. XMODEM1K)
  2599.     o    Batch YMODEM (True YMODEM (tm), and YMODEM-G)
  2600.     o    ZMODEM         (batch)
  2601.     o    KERMIT         (Windowed or not windowed)
  2602.     o    CIS-B         (classic and Quick (B+), for CompuServe)
  2603.     o    ASCII         (without error checking)
  2604.  
  2605.  
  2606.     To begin a transfer, on the CRT side of COM-AND you must tell the
  2607.     host (system) that it is to begin a transfer.  Each system is diff-
  2608.     erent in this respect.    Once the host is ready to start the transfer,
  2609.     begin the transfer in COM-AND.
  2610.  
  2611.  
  2612.     The transfer is started in COM-AND with the PgUp key (for upload) or
  2613.     PgDn key (for download).  The items on the menu presented are
  2614.     explicit; if you select CRC XMODEM, Windowed XMODEM will not be used,
  2615.     even if the host supports it.  The definition of CRC XMODEM allows a
  2616.     'drop' into checksum XMODEM, on the other hand, if the host doesn't
  2617.     support CRC.
  2618.  
  2619.  
  2620.     Each system you might wish to use has an optimal transfer method.
  2621.     Select the method from the menu.  According to the transfer method
  2622.     selected, you may then be queried for a file name (or wildcard
  2623.     template in the case of KERMIT, ZMODEM and Batch YMODEM uploads).
  2624.  
  2625.  
  2626.     At this point, COM-AND takes over the transfer.  With the exception
  2627.     of ASCII transfers, the sequence is usually:
  2628.  
  2629.     o    Synchronize with the host
  2630.     o    Negotiate parameters for the transfer
  2631.     o    Transfer a file or files
  2632.     o    Report error or completion of transfer
  2633.  
  2634.  
  2635.  
  2636.  
  2637.  
  2638.  
  2639. Version 2.7: 901015
  2640.  
  2641. COM-AND: IBM PC Communications and Accessories                 Page  43
  2642.  
  2643.  
  2644. XIII.    File Transfer (continued)
  2645.  
  2646.  
  2647.     COM-AND displays an estimate of the time required for the transfer
  2648.     (for downloads the estimate is for 30K chunks, unless the protocol
  2649.     provides the true file size).  The transfer rate (in terms of bytes
  2650.     per second actually delivered) and efficiency (in terms of percent of
  2651.     maximum linespeed) is computed and displayed every few seconds.
  2652.  
  2653.  
  2654.     The download statistics window displays:
  2655.  
  2656.     . the file name of the file being transfered,
  2657.     . the method
  2658.     . the time so far,
  2659.     . the file size so far,
  2660.     . the number of blocks received,
  2661.     . the number of errors encountered,
  2662.     . a description of the last error encountered.
  2663.     . an estimate for the transfer time (to the nearest 30K interval,
  2664.       unless the protocol supplies the true file size)
  2665.     . and the efficiency of the transfer (percent linespeed)
  2666.  
  2667.  
  2668.     The upload statistics window displays:
  2669.  
  2670.     . the file name of the file being transfered,
  2671.     . its size,
  2672.     . the method
  2673.     . the number of blocks being transfered,
  2674.     . the time so far,
  2675.     . the number of blocks sent,
  2676.     . if windowing the current 'window' size
  2677.     . the number of errors encountered,
  2678.     . a description of the last error encountered.
  2679.     . an estimate for the transfer time
  2680.     . and the efficiency of the transfer (percent linespeed)
  2681.  
  2682.     ----------------------------------------------------------------
  2683.     Protocols are not available through accessory programs.
  2684.     ----------------------------------------------------------------
  2685.  
  2686.  
  2687.  
  2688.  
  2689.  
  2690.  
  2691.  
  2692.  
  2693.  
  2694. Version 2.7: 901015
  2695.  
  2696. COM-AND: IBM PC Communications and Accessories                 Page  44
  2697.  
  2698.  
  2699. XIII.    File Transfer (continued)
  2700.  
  2701.  
  2702.     A. XMODEM Up/Download
  2703.  
  2704.  
  2705.        Files may be transfered to/from a system that accepts checksum,
  2706.        CRC, or Windowed XMODEM, using COM-AND.
  2707.  
  2708.        When you request XMODEM upload, you are asked for a file.  Once
  2709.        the file's existence has been assured, COM-AND begins protocol
  2710.        negotiation with the host system.  One of the possible protocols
  2711.        will be negotiated, according to your choice and the host's
  2712.        implementation.  Up to 60 seconds are allowed for the negotiation.
  2713.        If that time is exceeded, the transfer fails.  You may restart it,
  2714.        of course.
  2715.  
  2716.        When you request XMODEM download, you are asked for a file name.
  2717.        Once the file has been created (you will be queried for a purge if
  2718.        it already exists), COM-AND begins protocol negotiation with
  2719.        the host system.  One of the possible protocols will be negotiated
  2720.        according to your choice and to the host's implementation.  COM-
  2721.        AND drops through WXMODEM after 24 seconds.    COM-AND drops through
  2722.        CRC XMODEM after 24 seconds.  If the host does not acknowledge CRC
  2723.        XMODEM, then finally, CHECKSUM is requested.  Up to 100 seconds
  2724.        are allowed for the negotiation.  If that time is exceeded, the
  2725.        transfer fails.  You may restart it, of course.
  2726.  
  2727.        COM-AND is intended primarily for users of networks and services
  2728.        available through the networks.  For this reason, COM-AND
  2729.        implements what is refered to as "relaxed XMODEM".  The networks
  2730.        introduce timing delays into file transfers that the original
  2731.        XMODEM standard did not contemplate.  However, the relaxed XMODEM
  2732.        works quite well with BBS's that expect strict XMODEM.
  2733.  
  2734.  
  2735.        Because COM-AND is intended for a network environment, a new
  2736.        XMODEM variant:  Windowed XMODEM or WXMODEM is implemented.
  2737.        WXMODEM was designed to accommodate network delays and maximize
  2738.        performance.  It also accomodates network flow control (XON/XOFF).
  2739.        WXMODEM gives approximately 35% faster transfer rates in network
  2740.        environments.  For details about WXMODEM refer to Appendix D.
  2741.  
  2742.        COM-AND changes the communications parameters to 8 data bits, no
  2743.        parity, and 1 stop bit when XMODEM begins.  It restores settings
  2744.        to their original state after XMODEM completes.
  2745.  
  2746.  
  2747.  
  2748.  
  2749. Version 2.7: 901015
  2750.  
  2751. COM-AND: IBM PC Communications and Accessories                 Page  45
  2752.  
  2753.  
  2754. XIII.    File Transfer (continued)
  2755.  
  2756.  
  2757.     B. YMODEM Up/Download (BBS YMODEM and Batch YMODEM/YMODEM-G)
  2758.  
  2759.  
  2760.        Files are transmitted/received using one of several YMODEMs:
  2761.  
  2762.        .  simple YMODEM (Bulletin Board YMODEM, also known as XMODEM1K,
  2763.           different from True YMODEM (tm))
  2764.        .  Batch YMODEM (properly named "True YMODEM (tm)")
  2765.        .  Batch YMODEM-G (a streaming version for special connections)
  2766.  
  2767.        When one of the YMODEM uploads is selected, you are asked for a
  2768.        file (or in the case of Batch YMODEM and YMODEM-G, a wildcard
  2769.        template).  Once the file's existence has been assured, COM-AND
  2770.        begins protocol negotiation with the host system.  Up to 60
  2771.        seconds are allowed for the negotiation.  If that time is
  2772.        exceeded, the transfer fails.  You may restart it, of course.
  2773.  
  2774.        When a simple YMODEM/XMODEM1k download is selected, you are asked
  2775.        for a file name.  Once the file has been created (you will be
  2776.        queried for a purge if it already exists), COM-AND begins proto-
  2777.        col negotiation with the host system.  Up to 60 seconds are
  2778.        allowed for the negotiation.  If that time is exceeded, the trans-
  2779.        fer fails.  You may restart it, of course.
  2780.  
  2781.        When a Batch YMODEM or YMODEM-G download is selected, you will NOT
  2782.        be asked for a file name.  The host supplies the name(s).  For
  2783.        this reason, if the supplied name duplicates one on your default
  2784.        download subdirectory, the file name will have its last character
  2785.        (usually the extension) changed to '$'.
  2786.  
  2787.        YMODEM (in all its variants) is more efficient in a networked
  2788.        environment than simple XMODEMs (CRC and checksum) simply because
  2789.        it transfers longer blocks of data at a time.  However, YMODEM is
  2790.        subject to the same problems (lack of flow control, for one) that
  2791.        XMODEM users know well in networked environments.
  2792.  
  2793.        Variations on YMODEM abound.  The various namings of this protocol
  2794.        proliferate; even YMODEM's developer has changed his naming of the
  2795.        protocol; thus COM-AND uses the most common names (and the name
  2796.        given it by the developer in its original specification).
  2797.  
  2798.        COM-AND changes the communications parameters to 8 data bits, no
  2799.        parity, and 1 stop bit when any YMODEM begins.  It restores
  2800.        settings to their original state after YMODEM completes.
  2801.  
  2802.  
  2803.  
  2804. Version 2.7: 901015
  2805.  
  2806. COM-AND: IBM PC Communications and Accessories                 Page  46
  2807.  
  2808.  
  2809. XIII.    File Transfer (continued)
  2810.  
  2811.  
  2812.     C. ZMODEM Up/Download
  2813.  
  2814.  
  2815.        When ZMODEM upload commences, a wildcard template is requested
  2816.        (for example, FILE*.ASM).  Once the (first) file's existence has
  2817.        been assured, COM-AND begins protocol negotiation with the host
  2818.        system.  Up to 60 seconds are allowed for the negotiation.  If
  2819.        that time is exceeded, the transfer fails.
  2820.  
  2821.        COM-AND detects and automatically begins ZMODEM receive when the
  2822.        'auto' option of Alt-O is enabled.  If this option is disabled,
  2823.        the ZMODEM receive must be manually started.
  2824.  
  2825.        When a ZMODEM download begins, you will NOT be asked for a file.
  2826.        The host supplies the name(s).  ZMODEM defines a recovery mode
  2827.        (which is enabled/disabled through Alt-O).  When recovery is
  2828.        disabled, and the supplied name duplicates one on the default
  2829.        download subdirectory, the file name will have its last character
  2830.        (usually the extension) changed to '$'.  When recovery is enabled,
  2831.        and the name supplied duplicates one on the default download sub-
  2832.        directory, the transfer begins at the old end-of-file.  Presum-
  2833.        ably, the file is there as the result of a failed transfer.
  2834.  
  2835.        On download, once the file has been created (or opened if recover-
  2836.        ing) COM-AND begins protocol negotiation with the host system.  Up
  2837.        to 60 seconds are allowed for the negotiation.  If that time is
  2838.        exceeded, the transfer fails.  You may restart it, of course.
  2839.  
  2840.  
  2841.        ZMODEM is more efficient in a networked environment than XMODEM
  2842.        (CRC and checksum) for several reasons.  First, ZMODEM transfers
  2843.        longer blocks of data at a time (up to 1024 byte blocks).  Second,
  2844.        ZMODEM was designed to accomodate software flow control (XON/XOFF)
  2845.        as used by many hosts and networks.    Third, ZMODEM sends contin-
  2846.        uously, until the receiver detects an error (streaming).
  2847.  
  2848.        COM-AND does not implement some of the 'management' and 'trans-
  2849.        port' options intended for batch and automatic operation.  COM-AND
  2850.        does not implement ZMODEM fall-back to YMODEM or XMODEM either.
  2851.  
  2852.        COM-AND changes the communications parameters to 8 data bits, no
  2853.        parity, and 1 stop bit when ZMODEM begins, and enables soft flow
  2854.        control.  It restores settings to their original state after
  2855.        ZMODEM completes.
  2856.  
  2857.  
  2858.  
  2859. Version 2.7: 901015
  2860.  
  2861. COM-AND: IBM PC Communications and Accessories                 Page  47
  2862.  
  2863.  
  2864. XIII.    File Transfer (continued)
  2865.  
  2866.  
  2867.     D. KERMIT Up/Download
  2868.  
  2869.        The KERMIT protocol was developed at Columbia University and has
  2870.        been very popular at many computer sites.  Files may be trans-
  2871.        fered to and from a system that accepts KERMIT or Super KERMIT,
  2872.        using COM-AND.
  2873.  
  2874.        When you request KERMIT upload, you are asked for a file template
  2875.        (e.g.  *.EXE).  Once the first file's existence has been assured,
  2876.        COM-AND begins protocol negotiation with the host system.  Up to
  2877.        60 seconds are allowed for the negotiation.    If that time is
  2878.        exceeded, the transfer fails.  You may restart it, of course.
  2879.  
  2880.        When you request KERMIT download, you will NOT be asked for a
  2881.        file name.  The host supplies the name.  For this reason, if the
  2882.        supplied name duplicates one on your default download subdir-
  2883.        ectory, the file name will have its last character (usually the
  2884.        extension) changed to '$'.  Once the file has been created,
  2885.        COM-AND begins protocol negotiation with the host system.  Up
  2886.        to 60 seconds are allowed for the negotiation.  If that time is
  2887.        exceeded, the transfer fails.  You may restart it, of course.
  2888.  
  2889.  
  2890.        KERMIT has grown in many directions over the years.    Originally
  2891.        it was a 7-bit protocol.  Extensions were added to accomodate
  2892.        8-bit data, and to negotiate the 'width' (7 or 8 bits) of the
  2893.        transfer.  Extensions have been added to support a simple data
  2894.        compression method (run length encoding).  Extensions have been
  2895.        added to accomodate windowing (called Super KERMIT).
  2896.  
  2897.        COM-AND supports all KERMIT facilities through the windowing
  2898.        extensions.    COM-AND will negotiate window lengths of up to 8.
  2899.        COM-AND does not support the (later) large block size extension.
  2900.  
  2901.        COM-AND will attempt to negotiate an 8 bit data path if you have
  2902.        set your comm parameters 8N1.  COM-AND does not (now) change
  2903.        parity and data bits settings for the transfer.
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914. Version 2.7: 901015
  2915.  
  2916. COM-AND: IBM PC Communications and Accessories                 Page  48
  2917.  
  2918.  
  2919. XIII.    File Transfer (continued)
  2920.  
  2921.  
  2922.     E. CIS-B and Quick CIS-B Up/download
  2923.  
  2924.  
  2925.        The CIS-B protocol was developed at CompuServe and is their
  2926.        protocol 'of choice'.  Files may be transfered to and from
  2927.        CompuServe (CIS) using COM-AND.
  2928.  
  2929.        When you initiate CIS-B on CIS either sending or receiving), you
  2930.        tell CIS the name of the file to be transfered to/from your PC.
  2931.        CIS will then instruct COM-AND to open that file.  Once the file's
  2932.        existence has been assured, COM-AND begins protocol negotiation
  2933.        with CIS.  Up to 60 seconds are allowed for the negotiation.  If
  2934.        that time is exceeded, the transfer fails.  You may restart it,
  2935.        of course.
  2936.  
  2937.        When using VIDTEX emulation in COM-AND, it is not necessary to
  2938.        manually select PgUp/PgDn to send and receive files.  COM-AND
  2939.        recognizes CIS's instructions to begin a protocol transfer once
  2940.        you have instructed CIS as to the transfer under this emulation.
  2941.  
  2942.  
  2943.        A variant of CIS-B known as Quick-B (B-Plus) is also available in
  2944.        COM-AND.  Quick-B supports limited windowing and larger block
  2945.        lengths.  It also changes the quoting mechanism to optimize binary
  2946.        transfer.  Both CIS-B and Quick-B (B-Plus) are available.
  2947.  
  2948.  
  2949.  
  2950.  
  2951.  
  2952.  
  2953.  
  2954.  
  2955.  
  2956.  
  2957.  
  2958.  
  2959.  
  2960.  
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967.  
  2968.  
  2969. Version 2.7: 901015
  2970.  
  2971. COM-AND: IBM PC Communications and Accessories                 Page  49
  2972.  
  2973.  
  2974. XIII.    File Transfer (continued)
  2975.  
  2976.  
  2977.     F. ASCII Upload (PgUp, and F5)
  2978.  
  2979.  
  2980.        Files may be transfered to a system using a simple 'send' (as
  2981.        if entered by hand).  When ASCII upload is requested, you are
  2982.        prompted for a file name.  Once the file has been opened, you
  2983.        are prompted with a small menu with various options:
  2984.  
  2985.        .  Host prompting
  2986.  
  2987.           Transfer may occur in one of two ways:
  2988.  
  2989.           1) with a prompt from the host (some special character) or
  2990.           2) without a host prompt for every line.
  2991.  
  2992.           If 'Host prompting' is set 'On', you will be asked for the
  2993.           prompt character (either an ASCII or a control character).
  2994.           The prompt character is entered as you see it, unless it is
  2995.           a control character (e.g.  enter ^J for a line feed).
  2996.  
  2997.        .  Send linefeeds
  2998.  
  2999.           Line feeds may be suppressed during the transmission.  ASCII
  3000.           text files contain line feeds that you (usually) do not send.
  3001.  
  3002.        .  Expand tabs
  3003.  
  3004.           Similarly, tab characters may or may not be expanded during the
  3005.           transmission.  ASCII text files contain tabs that you (usually)
  3006.           want to expand before transmission.
  3007.  
  3008.        .  Stop at control-z
  3009.  
  3010.           You may specify that the transfer is to terminate when an
  3011.           an end-of-file character (control-Z) is encountered.  This is
  3012.           the case in most ASCII files.
  3013.  
  3014.        .  Respect XON/XOFF
  3015.  
  3016.           ASCII upload uses the default XON/XOFF setting established
  3017.           through Alt-O.  You may change the setting here temporarily for
  3018.           the transfer here.
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024. Version 2.7: 901015
  3025.  
  3026. COM-AND: IBM PC Communications and Accessories                 Page  50
  3027.  
  3028.  
  3029. XIII.    File Transfer (continued)
  3030.  
  3031.  
  3032.     F. ASCII Upload (continued)
  3033.  
  3034.  
  3035.        .  Expand blank lines
  3036.  
  3037.           You may choose to expand null lines to a blank line.  This is
  3038.           convenient on some BBS's.
  3039.  
  3040.        .  Line pacing
  3041.  
  3042.           You may choose to send lines of text with fixed delays between
  3043.           lines.  This is needed on some systems.  You may set the delay
  3044.           in intervals of 1/10th of a second.
  3045.  
  3046.  
  3047.        Transfer is, in all cases, paced (timed).  Transmission begins at
  3048.        maximum speed.  You may alter the pacing with the Ctl-PgUp and
  3049.        Ctl-PgDn keys during the transmission.  Ctl-Home will increase
  3050.        the speed to its maximum.  Ctl-End decreases the transmission
  3051.        speed to its minimum.  ESC or F1-F10 will terminate the send.
  3052.  
  3053.  
  3054.        The ASCII send function in COM-AND responds to XON/XOFF sequences
  3055.        transmitted by the host (if this feature is enabled).  When an
  3056.        XOFF is received, COM-AND waits up to 30 seconds for a subsequent
  3057.        XON to be received.    Transmission is suspended while COM-AND
  3058.        waits.  Transmission resumes after 30 seconds, or after COM-AND
  3059.        receives an XON.
  3060.  
  3061.  
  3062.  
  3063.        ----------------------------------------------------------------
  3064.        NOTE: When host prompting is specified, the first line is sent and
  3065.        then COM-AND waits for a host prompt.  Should the prompt from the
  3066.        the host be lost (inadvertently, of course), the left arrow key
  3067.        (or function key (F1-F10)) will send the next line.
  3068.        ----------------------------------------------------------------
  3069.        NOTE: When host prompting is specified, COM-AND 'looks ahead' in
  3070.        the file being transmitted.    COM-AND does not wait for a prompt
  3071.        when end-of-file follows after the last carriage return (and
  3072.        linefeed if linefeeds aren't being transmitted).
  3073.  
  3074.  
  3075.  
  3076.  
  3077.  
  3078.  
  3079. Version 2.7: 901015
  3080.  
  3081. COM-AND: IBM PC Communications and Accessories                 Page  51
  3082.  
  3083.  
  3084. XIII.    File Transfer (continued)
  3085.  
  3086.  
  3087.     F. ASCII Upload (continued)
  3088.  
  3089.  
  3090.        ----------------------------------------------------------------
  3091.        NOTE: When stop-on-control-z is specified, COM-AND transmits
  3092.        a carriage return on end-of-file (if a carriage return was not
  3093.        the last character transmitted).
  3094.        ----------------------------------------------------------------
  3095.        NOTE: The percent transmitted will be incorrect when the file
  3096.        being transmitted is small (less than 1000 bytes).  Don't be
  3097.        surprised.  I was.  Sorry 'bout that.
  3098.  
  3099.  
  3100.     G. ASCII Download (PgDn, and F6)
  3101.  
  3102.  
  3103.        ASCII downloads differ from transcripting in that no extra
  3104.        characters are added to the file (e.g.  line feeds after received
  3105.        carriage returns, and end-of-file are added when transcripting).
  3106.        Transcripting is intended to result in an ASCII edit file (or a
  3107.        printed log).  ASCII downloads may implement binary transfers.
  3108.  
  3109.  
  3110.        XON/XOFF flow control is performed during an ASCII download
  3111.        according to the current Alt-O setting.
  3112.  
  3113.  
  3114.        Anything you type while the download function is being performed
  3115.        will be sent to the host system also.  ESC or F1-F10 terminates
  3116.        the receive function and closes the capture file.
  3117.  
  3118.  
  3119.        COM-AND special functions (macros, scripts etc) are not available
  3120.        during an ASCII receive.
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.  
  3127.  
  3128.  
  3129.  
  3130.  
  3131.  
  3132.  
  3133.  
  3134. Version 2.7: 901015
  3135.  
  3136. COM-AND: IBM PC Communications and Accessories                 Page  52
  3137.  
  3138.  
  3139. XIII.    File Transfer (continued)
  3140.  
  3141.  
  3142.     H. File directory (Alt-F)
  3143.  
  3144.  
  3145.        A directory of files on any legitimate disk may be requested with
  3146.        the Alt-F command.  A search mask is requested.  Enter one just as
  3147.        you would with the DIR command of DOS.  For example:
  3148.  
  3149.         D:*.TXT
  3150.  
  3151.        specifies all files with the extension "TXT" from the "D" drive.
  3152.        File names and modification dates are displayed, 20 at a time.
  3153.        When the list is exhausted, the amount of free space remaining on
  3154.        the specified drive is displayed.
  3155.  
  3156.  
  3157.        Should you wish a directory search of a subdirectory, you must
  3158.        enter a full file mask.  The mask:
  3159.  
  3160.         C:\TEMP
  3161.  
  3162.        specifies a search on the root directory for a file named TEMP
  3163.        with no extension.  If you wish to search the TEMP subdirectory
  3164.        of the root directory, enter:
  3165.  
  3166.         C:\TEMP\*.*
  3167.  
  3168.  
  3169.     I. Default download path (F4)
  3170.  
  3171.  
  3172.        All file receive functions of COM-AND write to a default path,
  3173.        unless the given file name is qualified (with a drive and/or
  3174.        path).  The default drive:path is set through the F4 function.
  3175.  
  3176.  
  3177.        Please note that this setting is automatically saved for the next
  3178.        use of COM-AND.  No "do you wish to save this setting" prompt is
  3179.        used here; the setting is permanent until next changed.
  3180.  
  3181.  
  3182.  
  3183.  
  3184.  
  3185.  
  3186.  
  3187.  
  3188.  
  3189. Version 2.7: 901015
  3190.  
  3191. COM-AND: IBM PC Communications and Accessories                 Page  53
  3192.  
  3193.  
  3194. XIV.    Logging and Call-logging
  3195.  
  3196.  
  3197.     COM-AND supports two methods of logging activity for later review.
  3198.     The two methods are transcripting and call-logging.  The transcript
  3199.     records every character of received text... the call-log records
  3200.     calls made through the dialing directory, hangups, carrier dropouts,
  3201.     file transfers, accessory programs, and file encryption/decryption.
  3202.  
  3203.  
  3204.     Generally speaking, the transcript function is invoked when you wish
  3205.     an exact record of everything you've seen (COM-AND even allows you
  3206.     to transcript text seen BEFORE transcripting is turned on).  It is
  3207.     not used all the time.    The call-log is enabled once, and left to
  3208.     record all system activity.
  3209.  
  3210.  
  3211.     A transcript is an ASCII file recording all text you captured.    The
  3212.     only discussion of its contents needed is to point out that COM-AND
  3213.     marks the time of transcript start and end, unless you direct other-
  3214.     wise (through Alt-O, transcript marking).
  3215.  
  3216.  
  3217.     The call-log, however, requires some further discussion.  The call-
  3218.     log is an ASCII file too.  The call-log contents are fixed in format.
  3219.     An example of such a log might be:
  3220.  
  3221.          COM-AND loaded
  3222.          CONNECT: CIS 2400 (chicago)   2400,E,7,1,COM2;ATDT263-5636
  3223.          Dnl BAROQUE.BAS 7552 ( 0:00:32)    98.3% QuickB       0 errs
  3224.          DISCONNECT ( 0:02:33)
  3225.          CONNECT: Source (Chi) C S15   1200,N,8,1,COM2;ATDT938-0600
  3226.          Dnl YES.BAS     2008 ( 0:00:27)    64.3% Super KERMIT 1 errs
  3227.          DISCONNECT ( 0:04:57)
  3228.          CONNECT: Scintillation        2400,N,8,1,COM2;ATDT953-4922
  3229.          Dnl MAZE.ARC    34816 ( 0:02:36)    92.9% YMODEM (chk) 0 errs
  3230.          CARRIER dropped: ( 0:06:02)
  3231.          COM-AND exited ( 0:14:57)
  3232.          COM-AND loaded
  3233.          * Annotation line entered through Alt-U
  3234.          * I'm going to encrypt/decrypt a file for demonstration
  3235.          ENCRYPT:  COM-AND.EXE     to ENCRFILE      154567 ( 0:00:17)
  3236.          DECRYPT:  ENCRFILE     to DECRFILE      154568 ( 0:00:11)
  3237.          COM-AND exited ( 0:02:33)
  3238.          ACCESSORY: PC-VCO Maug mode:        PC-VCO.EXE /2/m/s
  3239.  
  3240.  
  3241.  
  3242.  
  3243.  
  3244. Version 2.7: 901015
  3245.  
  3246. COM-AND: IBM PC Communications and Accessories                 Page  54
  3247.  
  3248.  
  3249. XIV.    Logging and Call-logging (continued)
  3250.  
  3251.  
  3252.     In the above example, the timestamp from each line has been removed
  3253.     to make it more easily read in document form.  Each line of the
  3254.     call-log is discussed below.
  3255.  
  3256.     o  COM-AND loaded
  3257.  
  3258.        The "COM-AND loaded" line is issued to timestamp the time COM-AND
  3259.        was invoked from DOS.  This is only logged, of course, when call-
  3260.        logging had been previously enabled.
  3261.  
  3262.     o  CONNECT: <name>            <commparms>    ;<dialing string>
  3263.  
  3264.        The "CONNECT" line is logged when a connection has been made
  3265.        through the dialing directory (Alt-D, Alt-R, and script DIAL and
  3266.        MANUAL commands).  <Name> is taken from the dialing directory.
  3267.        <Commparms> record the current setting and port after connection.
  3268.        <Dialing string> records the dialing sequence passed the modem.
  3269.  
  3270.     o  Dnl <file name>   <size>    <time>     <eff>% <method>  <errs>
  3271.        Upl <file name>   <size>    <time>     <eff>% <method>  <errs>
  3272.  
  3273.        The "Dnl" and "Upl" lines record downloads and uploads (performed
  3274.        through PgDn, PgUp keys, and script GETFILE, SENDFILE commands).
  3275.        <Size>, <time>, <eff>, <errs> and <method> record the file size,
  3276.        transfer time, efficiency of transfer, count of errors, and method
  3277.        used (XMODEM, CISB etc).  Errored transfers are also recorded,
  3278.        with "error = nnn" in place of <size><time><eff%>.  COM-AND error
  3279.        numbers are listed in an appendix of the document CASCRIPT.DOC.
  3280.  
  3281.        Note that ASCII file transfers are not call-logged.
  3282.  
  3283.     o  DISCONNECT (<time>)
  3284.  
  3285.        The "DISCONNECT" line records a manual hangup (Alt-H).  If a
  3286.        connection is known, the time since the connection was made is
  3287.        recorded.
  3288.  
  3289.     o  CARRIER dropped: (<time>)
  3290.  
  3291.        The "CARRIER dropped" line records a loss of carrier when a
  3292.        connection is known.  The time since the connection was made is
  3293.        recorded.
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299. Version 2.7: 901015
  3300.  
  3301. COM-AND: IBM PC Communications and Accessories                 Page  55
  3302.  
  3303.  
  3304. XIV.    Logging and Call-logging (continued)
  3305.  
  3306.  
  3307.     o  * <annotation>
  3308.  
  3309.        Annotation lines (added through Alt-U) are delimited with
  3310.        asterisks (note that lines written to the call-log through the
  3311.        script CLOG statement are not necessarily delimited).
  3312.  
  3313.     o  ENCRYPT:  <fromfile>    to <tofile>        <size> (<time>)
  3314.        DECRYPT:  <fromfile>    to <tofile>        <size> (<time>)
  3315.  
  3316.        The "ENCRYPT" and "DECRYPT" lines record successful file encryp-
  3317.        tion and decryption (Alt-N and script ENCRYPT, DECRYPT commands).
  3318.        <Fromfile>, <tofile>, <Size>, and <time> record the files used,
  3319.        file size, and processing time.  Errored encryption and decryption
  3320.        attempts are not recorded.
  3321.  
  3322.     o  COM-AND exited (<time>)
  3323.  
  3324.        The "COM-AND exited" line is issued to timestamp the time COM-AND
  3325.        terminated.    The total time COM-AND was in use is recorded.
  3326.  
  3327.     o  COM-AND exited (CONNECT=<time>) (<time>)
  3328.  
  3329.        This form of the "COM-AND exited" line is issued to timestamp the
  3330.        time COM-AND terminated, when a connection is known.  The time
  3331.        since the connection was made is recorded as well as the total
  3332.        time COM-AND was in use is recorded.
  3333.  
  3334.     o  ACCESSORY: <F1 menu name> <program invocation>
  3335.  
  3336.        The "ACCESSORY" lines record a program loaded by COM-AND through
  3337.        the F1 Accessory menu (accessory entries which do not load a pro-
  3338.        gram are not recorded).  The entry name and the program invoca-
  3339.        tion are logged.  Accessory terminations and process creation
  3340.        errors are not logged.  Accessories that are simply script files
  3341.        are not logged.
  3342.  
  3343.     Keyboard commands relating to logging and call-logging follow on the
  3344.     next page.
  3345.  
  3346.  
  3347.  
  3348.  
  3349.  
  3350.  
  3351.  
  3352.  
  3353.  
  3354. Version 2.7: 901015
  3355.  
  3356. COM-AND: IBM PC Communications and Accessories                 Page  56
  3357.  
  3358.  
  3359. XIV.    Logging and Call-logging (continued)
  3360.  
  3361.  
  3362.     A. Disk logging [transcripting] (F7)
  3363.  
  3364.        You may transcript what you receive to a disk (or PRN) with the
  3365.        "Disk logging" function.  The transcript will be marked with the
  3366.        date and time it began and ended if transcript marking is set on
  3367.        through the Alt-O screen.
  3368.  
  3369.        COM-AND keeps the last characters received in a buffer for back-
  3370.        screen (or redisplay).  The size of the buffer is adjustable
  3371.        through Alt-S.  When you invoke transcripting, you will be asked
  3372.        if the backscreen is to be saved first.  If you respond "Y", the
  3373.        backscreen will be written to the transcript file before the
  3374.        "BEGIN" mark (if marking is enabled).  F7 is a toggle (press it
  3375.        a second time to terminate logging.
  3376.  
  3377.  
  3378.     B. Log hold [transcripting] (F9)
  3379.  
  3380.        The transcript may be suspended with the F9 toggle.    The logging
  3381.        status is displayed on the status line (if KBD buffer hasn't been
  3382.        enabled).  When the log is held, what is received is not copied to
  3383.        the transcript.  No mark is made to show that the transcript was
  3384.        held.  This key is a toggle (press it again to resume logging).
  3385.  
  3386.  
  3387.     C. Annotate call-log (Alt-U)
  3388.  
  3389.        Notes may be made directly to the call-log (not the transcript).
  3390.        When Alt-U is pressed, COM-AND tests to determine if the call-log
  3391.        if active.  If it is not active you will be asked if you wish to
  3392.        open a call-log.  However, the call-log will be closed when you
  3393.        exit COM-AND and not reopened the next time, unless you save the
  3394.        option through Alt-O.
  3395.  
  3396.        The Alt-U window allows you to enter a line at a time to the call-
  3397.        log.  Each line will be delimited with an asterisk ("*") in the
  3398.        call-log.  When you press <cr>, the line is written to the
  3399.        call-log.  The last three lines so entered are displayed for
  3400.        convenience.
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408.  
  3409. Version 2.7: 901015
  3410.  
  3411. COM-AND: IBM PC Communications and Accessories                 Page  57
  3412.  
  3413.  
  3414. XV.    Miscellaneous Functions
  3415.  
  3416.  
  3417.     A. Default Drive:Subdirectory (F3)
  3418.  
  3419.        You may change the default drive:subdirectory at any time through
  3420.        the F3 window.  This affects files uploaded but not files down-
  3421.        loaded (see File Transfers).  When the program terminates, you
  3422.        will be left on the selected drive:path.
  3423.  
  3424.     B. Keyboard display (F8)
  3425.  
  3426.        Some talk systems are more friendly when what you type is not
  3427.        mixed in with what you receive.  Turning echo off (if the system
  3428.        echoes key-entry) may be accomplished in a number of ways (note
  3429.        that this is different from program echo, Alt-E, above).
  3430.  
  3431.        However, all of a sudden there is a new problem: you don't see
  3432.        what you're typing!  Keyboard display in COM-AND is one attempt
  3433.        to solve this problem.  What you type will be displayed on the
  3434.        status line when keyboard display is turned on.
  3435.  
  3436.        Keyboard display may be set on permanently through the Alt-O
  3437.        options window.
  3438.  
  3439.     C. Chat mode (Alt-A)
  3440.  
  3441.        Chat mode is another attempt to make typing more friendly when
  3442.        what you type isn't echoed by the host.  A 'chat window' of 2-10
  3443.        lines may be opened just above the status line.  The last few
  3444.        lines you've typed are displayed there.
  3445.  
  3446.        Chat mode may be set on permanently through the Alt-O options
  3447.        window.
  3448.  
  3449.     D. Redisplay [backscreen] (Alt-B)
  3450.  
  3451.        COM-AND saves the last characters received for redisplay (up to
  3452.        the buffer size set through Alt-S).    When you request redisplay,
  3453.        the screen is cleared and the first page of the backscreen buffer
  3454.        is presented.  You may page backwards and forwards using the
  3455.        'PgUp' and 'PgDn' keys.  Pages begin with the oldest receipt, and
  3456.        continue to the point where the redisplay was requested.
  3457.  
  3458.        The 'End' key will find the last page of the redisplay.  You will
  3459.        see each page as it is displayed.  You may stop the search for
  3460.        the end of the buffer by pressing any key.  Exit redisplay with
  3461.        the ESC key.
  3462.  
  3463.  
  3464. Version 2.7: 901015
  3465.  
  3466. COM-AND: IBM PC Communications and Accessories                 Page  58
  3467.  
  3468.  
  3469. XV.    Miscellaneous Functions (continued)
  3470.  
  3471.  
  3472.     E. Clear Screen (Alt-C and received TOF)
  3473.  
  3474.        The command Alt-C entered at the keyboard will clear the screen.
  3475.        Similarly, when the host sends a control-L (^L or decimal 12) the
  3476.        screen is cleared.
  3477.  
  3478.     F. Echo (Alt-E)
  3479.  
  3480.        COM-AND writes keypresses directly through the COM port.  Some
  3481.        services turn around what is sent so that it is visible (full
  3482.        duplex or echoplex) and some don't (half duplex).  You may force
  3483.        COM-AND to display what you enter in the CRT window by toggling
  3484.        echo.  Setting echo on through the Alt-O window will turn echo on
  3485.        now, and the next time you run COM-AND.
  3486.  
  3487.        Echo is set through the dialing directory and permanently through
  3488.        the Alt-O options window.  The dialing directory overrides this,
  3489.        of course.
  3490.  
  3491.     G. Blank line suppression (Alt-G)
  3492.  
  3493.        Blank lines may be suppressed from the display if you wish.    This
  3494.        is especially useful where double spacing is done in a conference
  3495.        area.
  3496.  
  3497.        Blank line suppression may be set permanently through the Alt-O
  3498.        options window.
  3499.  
  3500.     H. 43/25 line toggle (Alt-L)
  3501.  
  3502.        If you have an EGA adapter, you may have 43 line screen displays.
  3503.        If you enter COM-AND from a 43 line screen, COM-AND automatically
  3504.        displays in 43 line mode.  Alt-L may be used to toggle 25 line/43
  3505.        line modes during COM-AND.
  3506.  
  3507.        Do not use Alt-L during VIDTEX sessions on CIS.  CIS will not use
  3508.        the new setting.
  3509.  
  3510.     I. Kermit parameters (Alt-K)
  3511.  
  3512.        The parameters that COM-AND will use during the KERMIT negoti-
  3513.        ation may be changed and saved using the Alt-K menu.  It is not
  3514.        recommended that you change these values unless you understand
  3515.        their meaning completely.  The supplied defaults are suitable for
  3516.        most KERMIT installations.
  3517.  
  3518.  
  3519. Version 2.7: 901015
  3520.  
  3521. COM-AND: IBM PC Communications and Accessories                 Page  59
  3522.  
  3523.  
  3524. XV.    Miscellaneous Functions (continued)
  3525.  
  3526.  
  3527.     J. Time and alarms (Alt-T)
  3528.  
  3529.        The time elapsed since the program was started, and since the
  3530.        last Alt-D dialing command or Alt-R is displayed through the
  3531.        Alt-T window.  The 'last call' time may be reset (if you are
  3532.        actually connected) manually here (or through a script).  An
  3533.        alarm may also be set here, either for the single session or
  3534.        permanently (every time you use COM-AND).  When the alarm is
  3535.        triggered, a pop-up window and noise announce the fact.
  3536.  
  3537.     K. Playback (Alt-W)
  3538.  
  3539.        You may display the contents of a file in the CRT area with the
  3540.        Alt-W Playback command.  You will be asked for a file name.    The
  3541.        contents of the given file will be written to the text area as if
  3542.        the text were being received.
  3543.  
  3544.        Playback is paced (timed).  It begins at minimum speed.  Alter
  3545.        the pacing with the Ctl-PgUp and Ctl-PgDn keys.  Pause the
  3546.        playback with the space bar.  Cancel the display with ESC.
  3547.  
  3548.     L. Program termination (Alt-X)
  3549.  
  3550.        COM-AND is exited (and returns to DOS) through the Alt-X command.
  3551.        The usual query "are you sure" is issued if "Exit query" is
  3552.        turned on with the Alt-O selection.
  3553.  
  3554.        When you exit COM-AND, unless you ran COM-AND with the /P switch
  3555.        (piggyback), you will be queried if a hangup is to be performed if
  3556.        carrier is still reported by the modem.  [If piggyback was set,
  3557.        you will not be queried.]
  3558.  
  3559.        NOTE:  a script may override the Alt-X function.  When a script
  3560.        has done this, after Alt-X is pressed (and after the hangup query
  3561.        if it is needed) a new script may start!
  3562.  
  3563.  
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569.  
  3570.  
  3571.  
  3572.  
  3573.  
  3574. Version 2.7: 901015
  3575.  
  3576. COM-AND: IBM PC Communications and Accessories                 Page  60
  3577.  
  3578.  
  3579. XV.    Miscellaneous Functions (continued)
  3580.  
  3581.  
  3582.     M. Parity (hi-bit) mask (Alt-Z)
  3583.  
  3584.        You may mask parity from every received character by setting
  3585.        the parity mask on permanently through the Alt-O window.  I've
  3586.        found this to be useful, mandatory when I've needed it.
  3587.  
  3588.        Some services require you to logon with 8 data bits, no parity, if
  3589.        you intend to download (or upload files).  When there is an X.25
  3590.        network between your PC and the service, certain characters (such
  3591.        as backspace may be transmitted with parity on, regardless of your
  3592.        setting).  In these cases, parity masking is very nice to have.
  3593.  
  3594.        Toggle the current parity mask setting with Alt-Z.
  3595.  
  3596.  
  3597.  
  3598.  
  3599.  
  3600.  
  3601.  
  3602.  
  3603.  
  3604.  
  3605.  
  3606.  
  3607.  
  3608.  
  3609.  
  3610.  
  3611.  
  3612.  
  3613.  
  3614.  
  3615.  
  3616.  
  3617.  
  3618.  
  3619.  
  3620.  
  3621.  
  3622.  
  3623.  
  3624.  
  3625.  
  3626.  
  3627.  
  3628.  
  3629. Version 2.7: 901015
  3630.  
  3631. COM-AND: IBM PC Communications and Accessories                 Page  61
  3632.  
  3633.  
  3634. XVI.    DOS Gateway (Alt-F10)
  3635.  
  3636.  
  3637.     COM-AND provides a gateway to a DOS shell through the Alt-F10 key.
  3638.     The DOS gateway requires a few preliminaries, however.
  3639.  
  3640.     .  There must be sufficient memory for the current DOS shell
  3641.        (COMMAND.COM usually), COM-AND, and a second DOS shell.  If there
  3642.        isn't, the Alt-F10 will be rejected for 'insufficient memory'.
  3643.  
  3644.     .  There should be an environment variable 'COMSPEC' that points to
  3645.        the DOS shell to be loaded by Alt-F10.  If this variable is
  3646.        missing (has been deleted), COMMAND.COM on the default drive,
  3647.        root directory will be used (if present).
  3648.  
  3649.  
  3650.     When the DOS gateway is entered, you will be able to execute any
  3651.     DOS function that the shell supports.  Memory available to that
  3652.     shell will be decreased by the presence of COM-AND still running.
  3653.  
  3654.  
  3655.     You return to COM-AND by exiting the DOS shell.  If the shell
  3656.     is COMMAND.COM, type the command 'EXIT' to return to COM-AND.
  3657.  
  3658.  
  3659.     ------------------------------------------------------------------
  3660.     NOTE:  In order to make full use of the DOS gateway, you should
  3661.     provide yourself with the capacity for more open files than the
  3662.     default.  The number of files that may be open at one time is
  3663.     increased by editing the file CONFIG.SYS on the root directory of
  3664.     your boot disk, adding (or changing) a line:  "FILES=n", where n
  3665.     is a number from 1 to 20.  At least 12 is recommended.    Refer to
  3666.     your DOS manual for particulars.
  3667.  
  3668.  
  3669.  
  3670.  
  3671.  
  3672.  
  3673.  
  3674.  
  3675.  
  3676.  
  3677.  
  3678.  
  3679.  
  3680.  
  3681.  
  3682.  
  3683.  
  3684. Version 2.7: 901015
  3685.  
  3686. COM-AND: IBM PC Communications and Accessories                 Page  62
  3687.  
  3688.  
  3689. XVII.    Emulation (Alt-V)
  3690.  
  3691.  
  3692.     COM-AND performs various terminal emulations.  COM-AND defines
  3693.     'terminal emulation' as three individual functions:
  3694.  
  3695.     o    Display emulations
  3696.     o    Translations of received and transmitted characters
  3697.     o    Keyboard remapping
  3698.  
  3699.     All three functions are controlled through the Alt-V menu.  However,
  3700.     translations and remapping require preparation external to COM-AND.
  3701.  
  3702.  
  3703.     A.  Display emulation
  3704.  
  3705.         COM-AND supplies five display emulations:  TTY, ANSI, VidTex,
  3706.         VT100, and VT52 in the current program.  Display emulations are
  3707.         selected through Alt-V.  The setting is enabled as soon is it
  3708.         selected.  Save the setting if COM-AND is to use the setting
  3709.         every time it is loaded.
  3710.  
  3711.         . TTY is appropriate for most BBSes and host systems.  What is
  3712.           received is displayed and what it typed is sent.
  3713.  
  3714.         . ANSI is appropriate for some BBSes and some host systems.
  3715.           The host is given considerable control over cursor positioning
  3716.           and display colors.  [Details of ANSI display sequences are
  3717.           discussed below in Appendix E.]
  3718.  
  3719.         . VidTex is appropriate only for the CompuServe (tm) system.
  3720.           The mode MUST be set before logging onto CompuServe if you
  3721.           wish to use this mode.  CompuServe does not allow you to
  3722.           change 'modes' after logging on.  [See Appendix F.]
  3723.  
  3724.         . VT100 and VT52 emulations are appropriate only for certain
  3725.           host systems and communications applications.  [Details of
  3726.           VT100/VT52 display sequences are discussed in Appendix E.]
  3727.  
  3728.  
  3729.         Display emulation in COM-AND only refers to COM-AND's response
  3730.         to certain control sequences received from the host.  Selection
  3731.         of a display emulation has no effect on character translation
  3732.         or on keyboard remapping.
  3733.  
  3734.         Character translation and keyboard remapping must be specified
  3735.         independently (see the following).
  3736.  
  3737.  
  3738.  
  3739. Version 2.7: 901015
  3740.  
  3741. COM-AND: IBM PC Communications and Accessories                 Page  63
  3742.  
  3743.  
  3744. XVII.    Emulation (continued)
  3745.  
  3746.  
  3747.      B. Translation
  3748.  
  3749.         COM-AND will translate characters both incoming and outgoing
  3750.         if you wish.  Characters are translated immediately upon receipt,
  3751.         and just before transmission, using two tables (one incoming and
  3752.         one for outgoing) supplied in the file COM-AND.XLT.
  3753.  
  3754.  
  3755.         When translation is enabled, the only cases where characters are
  3756.         NOT translated is within the binary protocols (XMODEM, YMODEM,
  3757.         KERMIT, and CIS-B), and when modem commands are issued.
  3758.  
  3759.  
  3760.         The file COM-AND.XLT is a binary file.  It must be supplied by
  3761.         you.  COM-AND.XLT consists of two tables:  each 256 bytes in
  3762.         size.  Within a table, the 'nth' byte contains the translation
  3763.         for the character of value 'n'.  Within the 'incoming' table, you
  3764.         are translating character with value 'n' received, to something
  3765.         else (hopefully ASCII).  Within the 'outgoing' table, you are
  3766.         translating a character (probably ASCII again, e.g. a keypress)
  3767.         of value 'n' into something else.
  3768.  
  3769.  
  3770.         On the incoming side, translating a character to a null
  3771.         effectively causes that character to be ignored by COM-AND.
  3772.  
  3773.  
  3774.         Obviously, the creation and maintenance of such a file is quite
  3775.         an effort.    It requires an ASCII table t'boot!  A script, XLATE.
  3776.         CMD is supplied to serve to format, display and edit the tables.
  3777.         You'll still need the ASCII table, however.  [Within the PC, all
  3778.         characters are treated as ASCII (as defined by IBM of course).]
  3779.  
  3780.  
  3781.         Translation is enabled and disabled through Alt-V (it may also be
  3782.         enabled or disabled through the XLATE.CMD script).    The table(s)
  3783.         may be edited at any time.    The new values are not used by
  3784.         COM-AND until translation is re-enabled (turned ON) after the
  3785.         changes were made.
  3786.  
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792.  
  3793.  
  3794. Version 2.7: 901015
  3795.  
  3796. COM-AND: IBM PC Communications and Accessories                 Page  64
  3797.  
  3798.  
  3799. XVII.    Emulation (continued)
  3800.  
  3801.  
  3802.      C. Remapping
  3803.  
  3804.         To complete the overall function of 'emulation', COM-AND provides
  3805.         an internal 'keyboard remapping' function.  Remapping makes COM-
  3806.         AND see a keystroke as another keystroke or even a string of
  3807.         keys.  When a remapped key is pressed, COM-AND sees the key(s)
  3808.         that redefine it instead.
  3809.  
  3810.  
  3811.         Remaps allow the COM-AND to provide a keyboard similar to a term-
  3812.         inal being emulated.  One immediate difficulty presents itself,
  3813.         however...    within COM-AND, certain keys have certain meanings
  3814.         (e.g.  F1 for a help screen, Alt-F10 for shell-to-DOS and so on).
  3815.         When you redefine a key that COM-AND uses, either some other key
  3816.         must be redefined to replace it or the function in COM-AND is
  3817.         lost while the remap is in effect.
  3818.  
  3819.  
  3820.         Remaps only affect actual keystrokes when pressed; they do not
  3821.         have any affect on characters within the binary protocols
  3822.         (XMODEM, YMODEM, KERMIT, and CIS-B), or script TRANSMIT text.
  3823.  
  3824.  
  3825.         Remaps are specified through a binary file, COM-AND.RMP.  It must
  3826.         be created outside of COM-AND.  COM-AND.RMP consists of one
  3827.         table, defining keys that are remapped and their new value(s).
  3828.  
  3829.  
  3830.         Needless to say:  the creation and maintenance of such a file is
  3831.         more effort than dealing with the translation tables!  A script,
  3832.         REMAP.CMD is supplied to create a suitable COM-AND.RMP file.
  3833.  
  3834.  
  3835.         REMAP.CMD compiles a simple language for remapping.  Keys (such
  3836.         as F1) are given 'names' (Function key F1 is 'F1').  A simple
  3837.         syntax is defined to redefine any key COM-AND can detect.
  3838.         REMAP.CMD expects a source file prepared with a text editor (like
  3839.         a script).    It compiles the source file into COM-AND.RMP.  Sample
  3840.         remaps (in source form) are provided in REMAPS.TXT.
  3841.  
  3842.  
  3843.         Remapping is enabled/disabled through Alt-V (also through the
  3844.         REMAP.CMD script and Alt-O).  The table may be reconstructed at
  3845.         any time; the new table is not used by COM-AND until remapping is
  3846.         enabled again (turned ON) after the changes were made.
  3847.  
  3848.  
  3849. Version 2.7: 901015
  3850.  
  3851. COM-AND: IBM PC Communications and Accessories                 Page  65
  3852.  
  3853.  
  3854. XVIII.    Script Language
  3855.  
  3856.  
  3857.     A script automates certain manual tasks, and allows COM-AND to run
  3858.     unattended (in some cases).  Scripting is invoked in several ways:
  3859.  
  3860.     o   when COM-AND is loaded:
  3861.  
  3862.         ..    COM-AND.CMD, is executed immediately if found
  3863.         ..    INSTALL.CMD, is executed if the file COM-AND.DFT was created
  3864.         (not updated) if this script is available
  3865.         ..    the /F switch in the run command specifies a script to be
  3866.         executed immediately (after COM-AND.CMD, and INSTALL.CMD)
  3867.  
  3868.     o   interactively (F2)
  3869.     o   attached to a dialing directory entry
  3870.  
  3871.     Script commands are read by COM-AND from an ASCII file (wordprocessor
  3872.     files are not usually ASCII files (!)).  Programmer's text editors
  3873.     and EDLIN (provided with DOS) may be used to create and modify a
  3874.     script file.  If you use a word processor to update a script ensure
  3875.     that the particular word processor will output an ASCII file (often
  3876.     called non-document format, perhaps even ASCII).
  3877.  
  3878.     Once a script begins, execution of COM-AND is automatic, driven by
  3879.     the script.  However, the ESC key may be used to terminate most
  3880.     scripts at any time.  During dialing, two ESCs are needed...  one to
  3881.     terminate the dial function, and the second to end script.
  3882.  
  3883.     Generally, a script takes the form: <perform some action>
  3884.                         <wait for a response>
  3885.                         <perform some action...
  3886.     and so on.
  3887.  
  3888.     For example, a script might dial a number listed in the dialing
  3889.     directory and wait for the "ID = " prompt from the dialed host.
  3890.     The scripts included with COM-AND provide examples of such scripts.
  3891.     However, the COM-AND script language is not limited to just such
  3892.     tasks...  programs may be loaded and passed parameters, screen
  3893.     windows may be opened and scrolled...  A nontrivial BBS has been
  3894.     written as a COM-AND script, and is provided with the distribution
  3895.     for the interested (and intrepid!).
  3896.  
  3897.     Documentation for the COM-AND script language is presented in the
  3898.     separate document CASCRIPT.DOC.
  3899.  
  3900.  
  3901.  
  3902.  
  3903.  
  3904. Version 2.7: 901015
  3905.  
  3906. COM-AND: IBM PC Communications and Accessories                 Page  66
  3907.  
  3908.  
  3909. XIX.    Program Requirements
  3910.  
  3911.  
  3912.     This program will only function on an IBM PC or DOS compatible
  3913.     machine.  COM-AND does direct-to-screen buffer fetches and stores
  3914.     (unless BIOS screen updates are directed using the /C switch or the
  3915.     Alt-O options menu).
  3916.  
  3917.  
  3918.     Note that COM-AND is TopView aware even without the /C switch or
  3919.     Alt-O option.
  3920.  
  3921.  
  3922.     COM-AND supports MDA, CGA, EGA, VGA and Hercules.  COM-AND supports
  3923.     a Microsoft Mouse if one is available.
  3924.  
  3925.  
  3926.     COM-AND disk I/O is done through the 'Handle' oriented I/O routines
  3927.     added to DOS 2.0.  Therefore DOS 2.0 is a minimum requirement.
  3928.  
  3929.  
  3930.     COM-AND (Version 2.7) requires 252K for itself.  You need 384K
  3931.     minimally to use COM-AND and the DOS Gateway, and more to take
  3932.     advantage of accessories.
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.  
  3939.  
  3940.  
  3941.  
  3942.  
  3943.  
  3944.  
  3945.  
  3946.  
  3947.  
  3948.  
  3949.  
  3950.  
  3951.  
  3952.  
  3953.  
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959. Version 2.7: 901015
  3960.  
  3961. COM-AND: IBM PC Communications and Accessories                 Page  67
  3962.  
  3963.  
  3964. XX.    Program and Author Information
  3965.  
  3966.  
  3967.     This program was written using Microsoft Macro-Assembler.  The
  3968.     author likes assembler.  Assembly language is an entirely
  3969.     appropriate vehicle for some of the program, and a not-inappro-
  3970.     priate vehicle for the rest of it.  Everything, in moderation...
  3971.  
  3972.  
  3973.     COM-AND has been written by, and is supported by R. Scott McGinnis
  3974.     of Chicago (CABER Software), Illinois.    My PLINK and GEnie IDs are:
  3975.     TARTAN.  My CIS ID is 73147,2665.  Comment and suggestions (and
  3976.     criticism in moderation) are welcomed:
  3977.  
  3978.              CABER Software
  3979.              R. (Scott) McGinnis
  3980.              P.O. Box 3607 Mdse Mart
  3981.              Chicago, IL 60654-0607
  3982.  
  3983.  
  3984.     I want to thank the sysops on GEnie, Paul Homchick, David Kozinn
  3985.     and Charles Strom for their support of this program in its early
  3986.     days (known as PC-VCO).  Their opening an RTC just for PC-VCO made
  3987.     it possible to reach a wide audience quickly and to gather comments
  3988.     and criticism from people using the program.
  3989.  
  3990.     I thank my wife, Elizabeth, who supported this effort and doesn't
  3991.     laugh at me (except for the time I tried to squeeze between a grape
  3992.     arbor and a board fence...).  She has been my companion and partner
  3993.     for many years and I am grateful.
  3994.  
  3995.     I also thank Jim Aspinwall, who contributed the Appendix below on
  3996.     modem initializations, and Dr. David Snyder, who contributed the
  3997.     marvelous TARTAN icon for COM-AND under Windows 3.0.
  3998.  
  3999.  
  4000.     This program (Version 2.7) may be distributed freely along with its
  4001.     accessories with the caveat that the Author information displayed at
  4002.     program termination is not removed.  If the program is USED after a
  4003.     reasonable evaluation period, a registration of $35.00 is required.
  4004.  
  4005.  
  4006.     PROCOMM, PCPLus, and ASPECT are trademarks of the DataStorm cor-
  4007.     poration.  DSZ is a trademark of OMEN Technology.  Windows is a
  4008.     trademark of the MicroSoft Corporation.  DesqView is a trademark
  4009.     of the QuarterDeck Corporation.  Smartmodem is a trademark of the
  4010.     Hayes Corporation.
  4011.  
  4012.  
  4013.  
  4014. Version 2.7: 901015
  4015.  
  4016. COM-AND: IBM PC Communications and Accessories                 Page  68
  4017.  
  4018.  
  4019. A.    Switches and parameters
  4020.  
  4021.  
  4022.     Program Switches:
  4023.  
  4024.     /A  'Chat mode':  COM-AND may be set to default to the chat mode
  4025.         split screen through the Alt-O options menu.  However, you may
  4026.         wish to turn chat on for some systems and off for others.  The
  4027.         /A switch allows the decision to be made through a batch file.
  4028.  
  4029.     /B  'Black and White mode':  COM-AND may be set to use or not use
  4030.         colors on-screen with the Alt-J Colors menu.  /B on the command
  4031.         line is an expedient way to turn colors off temporarily.
  4032.  
  4033.     /C  'Compatible': COM-AND normally does direct screen buffer reads
  4034.         and writes for its pop-up menues.  The /C switch forces COM-AND
  4035.         to use BIOS for all such references (e.g.  when under WINDOWS).
  4036.  
  4037.     /E  'no EGA': Turn off EGA support (forcing 25 line mode when COM-AND
  4038.         is entered in 43 or 50 line mode).
  4039.  
  4040.     /F  'Execute script':  The /F switch followed by a legitimate file
  4041.         name (for example /FPLINK.CMD) will cause the designated file to
  4042.         be used as a script after COM-AND is loaded.  Note that a file
  4043.         name extension of .CMD will be added if none is given and the
  4044.         name as-is is not found.
  4045.  
  4046.     /G  'Blank line suppression': Blank lines are used to double space
  4047.         on some systems.  Alt-G toggles a blank line suppression feature
  4048.         interactively.  /G in the run command turns the feature on when
  4049.         COM-AND is loaded.    This feature may also be set through Alt-O.
  4050.  
  4051.     /I  'No Init': inhibit the modem initialization string from being
  4052.         transmitted at run-time.
  4053.  
  4054.     /J  'PCJr': Set PCJr mode for streaming transfers (logging, WXMODEM,
  4055.         CIS Quick-B, and Super KERMIT) if you have a PC-Jr.
  4056.  
  4057.     /K  'KBD Buffer': Turn on KBD buffer.
  4058.  
  4059.     /L  'EGA mode':  Set 43 line mode on upon entry.  This feature is
  4060.         automatic if COM-AND is entered from a 43 line screen.  This
  4061.         feature may be toggled within COM-AND with Alt-L.
  4062.  
  4063.     /M  'No Mouse': Turn off MOUSE support (e.g. when running under
  4064.         WINDOWS or DesqView).
  4065.  
  4066.  
  4067.  
  4068.  
  4069. Version 2.7: 901015                           Appendices
  4070.  
  4071. COM-AND: IBM PC Communications and Accessories                 Page  69
  4072.  
  4073.  
  4074. A.    Switches and Parameters (continued)
  4075.  
  4076.  
  4077.     /P  'Piggyback':  COM-AND will open the COM port in such a manner as
  4078.         to retain another program's already opened line.  When COM-AND
  4079.         is exited, the previous state is restored.
  4080.  
  4081.     /R  'Report Receive Errors':  This switch causes all receive errors
  4082.         to be reported.  During testing, certain nodes of certain net-
  4083.         works consistently reported framing errors.  The apparent error
  4084.         did not interfere with communications so report of it was
  4085.         suppressed.
  4086.  
  4087.     /S  'Hardware flow control':  This switch causes a more robust disci-
  4088.         pline to be used when transmitting characters.  When this switch
  4089.         is set, RTS is turned high before each write and response (CTS)
  4090.         awaited.  A timeout of 20 seconds is imposed.
  4091.  
  4092.         Certain modems will not work with this discipline (though the
  4093.         Hayes Smartmodem for one seems happy as a clam).  Other modems
  4094.         or interconnects require it.  The option may be set permanently
  4095.         through Alt-O.
  4096.  
  4097.     /T  'Carrier override':  This switch forces COM-AND to ignore the
  4098.         carrier detect sense reported by the MODEM.  COM-AND tests the
  4099.         carrier detect sense during all file transfers, and through the
  4100.         script processor.  A few modems apparently cannot (???) report
  4101.         carrier detect.  This switch allows COM-AND to be used on those
  4102.         modems (to perform file transfers).
  4103.  
  4104.     /V  'Menu mode':  This switch forces COM-AND to initialize in menu
  4105.         mode.  The top line menu comes up after initialization.
  4106.  
  4107.     /W  'Slow transfers':  This switch forces COM-AND to slow down its
  4108.         file transfers.  COM-AND uses interrupt driven writes for file
  4109.         transfers...  which is too fast for some network modems (!).
  4110.         This switch allows COM-AND to be used on those modems (to per-
  4111.         form file transfers).
  4112.  
  4113.     /X  'Debug mode': This switch enables certain resident debugging keys
  4114.         (such as Ctl-F2, which writes a dump of memory to disk).  I do
  4115.         not recommend you use it.  I document it only for the curious.
  4116.  
  4117.     /Z  'REMOTE commands':  This switch allows COM-AND to perform script
  4118.         commands received through the sequence:  "ESC ^ <text> <cr>".
  4119.         This switch overrides the Alt-O setting.
  4120.  
  4121.  
  4122.  
  4123.  
  4124. Version 2.7: 901015                           Appendices
  4125.  
  4126. COM-AND: IBM PC Communications and Accessories                 Page  70
  4127.  
  4128.  
  4129. A.    Switches and Parameters (continued)
  4130.  
  4131.  
  4132.     Program parameters:
  4133.  
  4134.        COM1     COM-AND uses the COM1 port
  4135.        COM2     COM-AND uses the COM2 port
  4136.        COM3     COM-AND uses the COM3 port (base addr 3e8h)
  4137.        COM4     COM-AND uses the COM4 port (base addr 2e8h)
  4138.  
  4139.        300        COM-AND uses port at 300 baud
  4140.        1200     COM-AND uses port at 1200 baud
  4141.        2400     COM-AND uses port at 2400 baud
  4142.        4800     COM-AND uses port at 4800 baud
  4143.        9600     COM-AND uses port at 9600 baud
  4144.        19K        COM-AND uses port at 19.2K baud
  4145.        38K        COM-AND uses port at 38.4K baud
  4146.        56K        COM-AND uses port at 56.6K baud
  4147.        115K     COM-AND uses port at 115K baud
  4148.  
  4149.        EVEN     COM-AND uses port with even parity
  4150.        ODD        COM-AND uses port with odd parity
  4151.        NONE     COM-AND uses port with no parity
  4152.  
  4153.        DATA7    COM-AND transmits/receives 7 data bits
  4154.        DATA8    COM-AND transmits/receives 8 data bits
  4155.  
  4156.        STOP1    COM-AND uses and expects 1 stop bit
  4157.        STOP2    COM-AND uses and expects 2 stop bits
  4158.  
  4159.        BIOS     COM-AND uses BIOS for communications services
  4160.  
  4161.        DIAL <n>    After initialization, COM-AND dials directory entry
  4162.             <n>, using the rate, parity, data and stop bits as
  4163.             specified.
  4164.  
  4165.  
  4166.     Program switches require no delimiters.  Parameters must be
  4167.     preceded by a blank (in succession).  For example:
  4168.  
  4169.     A> COM-AND 1200      Run the program at 1200 baud
  4170.     A> COM-AND /L1200     43 line mode, 1200 baud
  4171.     A> COM-AND /L 1200     43 line mode, 1200 baud
  4172.  
  4173.  
  4174.     Program defaults are: "d"> COM-AND COM2 300 EVEN DATA7 STOP1
  4175.  
  4176.  
  4177.  
  4178.  
  4179. Version 2.7: 901015                           Appendices
  4180.  
  4181. COM-AND: IBM PC Communications and Accessories                 Page  71
  4182.  
  4183.  
  4184. B.    COM-AND Error display.
  4185.  
  4186.  
  4187.     One command not listed in the F10 help display is Alt-Y.  This
  4188.     command displays RS232 and file errors encountered.  RS232 errors
  4189.     list both the last error condition recorded and a count of errors.
  4190.     RS232 errors are:
  4191.  
  4192.     Receive error.    The hex value represents:
  4193.  
  4194.        Bit 0:  Shouldn't occur in display, but what do I know.
  4195.        Bit 1:  Overrun.  Indicates that a character in the 8250
  4196.            Receive buffer was not read before the next character
  4197.            was received.  This program enables interrupts to read
  4198.            the COM port.
  4199.        Bit 2:  Parity error.  Indicates that the parity of the
  4200.            received character does not match that specified.
  4201.            This bit report is normally suppressed, but may be
  4202.            enabled with the /R switch.
  4203.        Bit 3:  Framing error.  Indicates that the character received
  4204.            lacked a valid stop bit.
  4205.        Bit 4:  Break interrupt. Not too many systems send a break.
  4206.  
  4207.        Other bits of the LSR of the 8250 are masked off.
  4208.  
  4209.     Send error.  The hex value represents:
  4210.  
  4211.        Bit 7:  A timeout occured in one of three places:
  4212.            . Waiting for DSR to go true
  4213.            . Waiting for CTS to go true
  4214.            . Waiting for the transmit holding register to clear
  4215.              The first two conditions are normally suppressed,
  4216.              but may be overridden with the /S switch.
  4217.  
  4218.        Other bits are masked out. There is serious trouble (or my over-
  4219.        sight) if anything but Hex 80 is reported.
  4220.  
  4221.     Buffer overflow.
  4222.  
  4223.        This program uses an interrupt service routine to read the
  4224.        COM port.  The ISR fills a 4096 byte buffer.  The application
  4225.        takes characters out of the circular receive buffer one by
  4226.        one.  Buffer overflow may occur when the application is
  4227.        suspended; for example when a menu is pending attention, and
  4228.        flow control is not enabled.
  4229.  
  4230.  
  4231.  
  4232.  
  4233.  
  4234. Version 2.7: 901015                           Appendices
  4235.  
  4236. COM-AND: IBM PC Communications and Accessories                 Page  72
  4237.  
  4238.  
  4239. C.    Files
  4240.  
  4241.  
  4242.     COM-AND expects the following files on the default drive/subdirectory
  4243.     (or COM-AND= environment variable specified drive/subdirectory):
  4244.  
  4245.     COM-AND.DFT     Parameter save area (Alt-S, Alt-O and Alt-P)
  4246.     COM-AND.DIR     Dialing directory (change name in Alt-S)
  4247.     COM-AND.MAC     Macro definition (change name in Alt-S)
  4248.     COM-AND.ACC     Accessory definitions (F1) (change name in Alt-S)
  4249.  
  4250.     COM-AND will create the .DFT file at load-time if not found.  COM-AND
  4251.     will automatically update the .DFT file if the program version number
  4252.     is different from the .DFT file version number.
  4253.  
  4254.     COM-AND will create if not present (filling with default values):
  4255.     an empty dialing directory, and empty macro definition, and an empty
  4256.     accessory definition.  Different versions of COM-AND will require
  4257.     different structures to the .DFT file...  previous versions (with the
  4258.     exception of 1.0) will be accepted; however when a new major (e.g.
  4259.     1.0, 2.0, ...) is released the previous .DFT file probably should be
  4260.     purged (and recreated by COM-AND).
  4261.  
  4262.     COM-AND also uses:
  4263.  
  4264.     COM-AND.XLT     Translation tables; see XLATE.CMD script
  4265.     COM-AND.RMP     Keyboard remapping table; see REMAP.CMD script
  4266.     COM-AND.LOG     Default call-log file
  4267.     COM-AND.TUN     Tune file (if present; ASCII file, PLAY data)
  4268.     COM-AND.CMD     Automatic script (if present, executed at init)
  4269.     INSTALL.CMD     Automatic script (if present, and if COM-AND.DFT is
  4270.              created (not updated))
  4271.     COM-AND.RLE     RLE save file (used during receipt of RLEs)
  4272.  
  4273.     The ".RLE" and ".LOG" file names may be changed through the Alt-S
  4274.     (Setup) Menu.  COM-AND currently implements the rule for file names:
  4275.     If the given file name carries a drive spec (i.e.  C:) or path
  4276.     (subdirectory), the name is taken 'as is'.  If neither is provided
  4277.     the default drive and subdirectory are added to the file name.
  4278.  
  4279.     COM-AND will share Dialing Directory and Macro Definition files with
  4280.     PROCOMM 2.4.2 and before.  In this case the subdirectory on which
  4281.     these files may be found must be specified through the Alt-S func-
  4282.     tion, and the values saved for subsequent executions.  COM-AND's
  4283.     updates to these files will be acceptable to PROCOMM, and PROCOMM's
  4284.     to COM-AND (true at least through Version 2.4.2 of PROCOMM).
  4285.  
  4286.  
  4287.  
  4288.  
  4289. Version 2.7: 901015                           Appendices
  4290.  
  4291. COM-AND: IBM PC Communications and Accessories                 Page  73
  4292.  
  4293.  
  4294. D.    Windowed XMODEM (WXMODEM)
  4295.  
  4296.  
  4297.     In June, 1986, Peter Boswell of PLINK issued a specification for
  4298.     an XMODEM protocol variant called Windowed XMODEM (WXMODEM to its
  4299.     friends).  WXMODEM was designed primarily to overcome delays that
  4300.     are imposed by the X.25 networks.  X.25 network delays are mostly
  4301.     imperceptible to conversational users of the networks...  however,
  4302.     people performing file transfers might expect to see up to 50% of
  4303.     the transfer time eaten up in these delays!
  4304.  
  4305.     Asynchronous communications lines do not suffer these same delays.
  4306.     When someone accustomed to Bulletin Boards (dialed through a direct
  4307.     phone line) enters the network environment, the 'feel' of file
  4308.     transfers is found to be entirely 'too slow'.  The difference is
  4309.     entirely in the network (and many times intervening satellite hops).
  4310.  
  4311.  
  4312.     Windowed XMODEM also accomodates the requirements of new services
  4313.     such as PC Pursuit...  allowing XON/XOFF flow control to be exer-
  4314.     cised by the network during a binary file transfer (this is not
  4315.     possible with XMODEM, as transparency is required).  Flow control
  4316.     allows higher data rates to be supported while retaining existing
  4317.     network interconnects.
  4318.  
  4319.  
  4320.     Windowed XMODEM was implemented on PLINK in September, 1986.  Many
  4321.     comm programs on many different machines have been modified or
  4322.     written to implement WXMODEM for PLINK communications.    The differ-
  4323.     ence in throughput between CRC XMODEM and WXMODEM is astounding.
  4324.     I measure at least 35% and sometimes as much as 40% improvement in
  4325.     transfer times over CRC XMODEM.  In real terms, this means the diff-
  4326.     erence between 24 minutes and 40 minutes for a download of the same
  4327.     (approximately 120K) file at 1200 baud.
  4328.  
  4329.  
  4330.     Windowed XMODEM is still a new protocol.  Its developers discovered
  4331.     quite a few practicalities not addressed in the original specific-
  4332.     ation during its implementation.  However, WXMODEM is now available
  4333.     on Delphi, and for various BBS's (TCOMM, and RBBS for example).
  4334.  
  4335.  
  4336.     For the technically inclined, the Windowed XMODEM specification will
  4337.     be found on many bulletin boards and most systems as WXMODEM.ARC.  An
  4338.     excellent analysis of XMODEM problems in an X.25 environment was also
  4339.     published (electronically) by Peter Boswell.  In the latter paper,
  4340.     Peter quantifies exactly the delays and their predicted overhead in
  4341.     an X.25 environment.
  4342.  
  4343.  
  4344. Version 2.7: 901015                           Appendices
  4345.  
  4346. COM-AND: IBM PC Communications and Accessories                 Page  74
  4347.  
  4348.  
  4349. E.    ANSI, VT100, and VT52 graphics
  4350.  
  4351.  
  4352.     1. ANSI sequences
  4353.  
  4354.        COM-AND is capable of displaying ANSI graphics on the CRT side.
  4355.        ANSI graphics are used by some services and Bulletin Boards to
  4356.        enrich the display through screen formatting and colors.
  4357.  
  4358.  
  4359.        Beginning with Version 2.0 of this program, ANSI graphic software
  4360.        is entirely contained within COM-AND.  Any errors in implementa-
  4361.        tion must be addressed to this developer.  COM-AND implements the
  4362.        ANSI sequences as follows:
  4363.  
  4364.         ESC,'[#;#H'   CUP: Cursor position; 1st #=row, 2nd=col
  4365.         ESC,'[;#H'    CUP: Alternate cursor position to col
  4366.         ESC,'[#H'     CUP: Alternate cursor position to row
  4367.         ESC,'[H'      CUP: Alternate cursor position to home
  4368.         ESC,'[#;#f'   HVP: Horiz/Vert pos; 1st = row, 2nd = col
  4369.         ESC,'[;#f'    HVP: Alternate horiz/vert pos to col
  4370.         ESC,'[#f'     HVP: Alternate horiz/vert pos to row
  4371.         ESC,'[f'      HVP: Alternate horiz/vert pos to home
  4372.         ESC,'[#A'     CUU: Cursor Up # rows
  4373.         ESC,'[#B'     CUD: Cursor Down # rows
  4374.         ESC,'[#C'     CUF: Cursor Forward # cols
  4375.         ESC,'[#D'     CUB: Cursor Backward # cols
  4376.         ESC,'[6n'     DSR: Device status rpt (rtns CPR)
  4377.         ESC,'[#;#R'   CPR: Cursor position rpt (1st=row, 2nd=col)
  4378.         ESC,'[s'      SCP: Save cursor position
  4379.         ESC,'[u'      RCP: Restore cursor position
  4380.         ESC,'[#J'     ED: Erase display (# = 0,1,2)
  4381.         ESC,'[#K'     EL: Erase line (# = 0,1,2)
  4382.         ESC,'[&m'     SGR: Set graphics rendition (&-> #[;#...])
  4383.         ESC,'[=#h'    SM: Set mode
  4384.         ESC,'[?7h'    SM: Set mode
  4385.         ESC,'[=#l'    RM: Reset mode
  4386.         ESC,'[?7l'    SM: Reset mode
  4387.  
  4388.  
  4389.        The only sequence defined in ANSI.SYS (the device driver that
  4390.        supplies ANSI emulation) that is not implemented in COM-AND is:
  4391.  
  4392.         Esc,'[...p'   KKR: Keyboard key redefinition.
  4393.  
  4394.        I am considering implementing this sequence, with a menu to sup-
  4395.        port it as a 'different' sort of Macro facility.  I'd like to hear
  4396.        comments from people reading this.
  4397.  
  4398.  
  4399. Version 2.7: 901015                           Appendices
  4400.  
  4401. COM-AND: IBM PC Communications and Accessories                 Page  75
  4402.  
  4403.  
  4404. E.    ANSI, VT100 and VT52 graphics (continued)
  4405.  
  4406.  
  4407.     1. ANSI sequences (continued)
  4408.  
  4409.        Under MS-DOS/PC-DOS, ANSI graphics are usually performed by the
  4410.        ANSI.SYS device driver.  Replacements for ANSI.SYS are available
  4411.        on all the systems and boards, offering increased functionality
  4412.        and additional utility.  For example, the FANSI device driver
  4413.        (sold by Hersey Micro Consulting) offers:
  4414.  
  4415.        .  improvements in screen display speed,
  4416.        .  considerably more control sequences than ANSI.SYS,
  4417.        .  DEC VT100 emulation (which therefore is available to you in
  4418.           COM-AND if you use FANSI and turn DOS screen on),
  4419.        .  a backscreen function which pages last-to-first,
  4420.        .  one finger typing,
  4421.        .  increased typeahead buffer size,
  4422.        .  and many many other functional enhancements
  4423.  
  4424.        The implementation of ANSI within COM-AND does not negate any of
  4425.        the above features (except perhaps terminal emulation).
  4426.  
  4427.  
  4428.        In order to use ANSI.SYS or any of its replacements through COM-
  4429.        AND, you must have a device driver installed in your DOS.  All
  4430.        that is required is that the line:
  4431.  
  4432.           DEVICE=ANSI.SYS
  4433.  
  4434.        be added to the file CONFIG.SYS on the root directory of the boot
  4435.        disk, and the PC rebooted (Ctl-Alt-Del).  If there is no file
  4436.        named CONFIG.SYS on the root directory of your boot disk, create
  4437.        one containing the line above (see also the note on DOS gateway),
  4438.        and then reboot.
  4439.  
  4440.  
  4441.        Other device drivers, as FANSI mentioned above, will have their
  4442.        own installation requirements.  Refer to the documentation for the
  4443.        device driver you wish to use for instructions.
  4444.  
  4445.  
  4446.        Once you've installed the ANSI device, you must turn COM-AND's
  4447.        ANSI and VIDTEX emulation off through the Alt-V menu.  You must
  4448.        also turn on 'DOS screen writes' through Alt-O.  With ANSI and
  4449.        VIDTEX off, and DOS on, all received text is routed through the
  4450.        ANSI device.
  4451.  
  4452.  
  4453.  
  4454. Version 2.7: 901015                           Appendices
  4455.  
  4456. COM-AND: IBM PC Communications and Accessories                 Page  76
  4457.  
  4458.  
  4459. E.    ANSI, VT100, and VT52 graphics (continued)
  4460.  
  4461.  
  4462.     2. VT100 sequences
  4463.  
  4464.        COM-AND is accepts a subset of VT100 escape sequences in display
  4465.        emulation.  VT100 emulation is available through the Alt-V option
  4466.        'VT100' (or in a script, 'EMULATE VT100').
  4467.  
  4468.  
  4469.        The VT100 was created to be an ANSI terminal.  The difference
  4470.        between COM-AND's VT100 and ANSI modes is minor.  There are the
  4471.        following differences to the above ANSI sequences:
  4472.  
  4473.        o    Erase display does not position to home in VT100
  4474.        o    Erase line does not position to beginning of line in VT100
  4475.  
  4476.  
  4477.        In addition to the ANSI sequences above, COM-AND VT100 emulation
  4478.        also adds the following sequences:
  4479.  
  4480.         ESC,'[?2l'    Switch to VT52 mode
  4481.         ESC,'<'       VT52: Change to VT100 (redundant)
  4482.         ESC,'>'       Keypad numeric mode
  4483.         ESC,'='       Keypad application mode
  4484.         ESC,'7'       Save cursor and attributes
  4485.         ESC,'8'       Restore cursor and attributes
  4486.         ESC,'#3'      Set cursor line to DH DW top half (literal '#')
  4487.         ESC,'#4'      Set cursor line to DH DW bot half (literal '#')
  4488.         ESC,'#5'      Set cursor line to SH SW          (literal '#')
  4489.         ESC,'#6'      Set cursor line to SH DW          (literal '#')
  4490.         ESC,'#:'      Set cursor line to DH SW top half (literal '#')
  4491.         ESC,'#;'      Set cursor line to DH SW bot half (literal '#')
  4492.         ESC,'[#;#r'   Set scrolling region
  4493.         ESC,'[?#l'    Reset (parameter controls)
  4494.         ESC,'[?#h'    Set (parameter controls)
  4495.         ESC,'[>#l'    Reset (parameter controls)
  4496.         ESC,'[>#h'    Set (parameter controls)
  4497.         ESC,'[20l'    Reset LF to new ln (unused)
  4498.         ESC,'[20h'    Set new line mode (unused)
  4499.         ESC,'[#q'     LED controls (unused)
  4500.  
  4501.  
  4502.  
  4503.  
  4504.  
  4505.  
  4506.  
  4507.  
  4508.  
  4509. Version 2.7: 901015                           Appendices
  4510.  
  4511. COM-AND: IBM PC Communications and Accessories                 Page  77
  4512.  
  4513.  
  4514. E.    ANSI, VT100, and VT52 graphics (continued)
  4515.  
  4516.  
  4517.     2. VT100 sequences (continued)
  4518.  
  4519.        COM-AND's VT100 emulation Displays from one of two character sets,
  4520.        designated G0 and G1 in VT100 nomenclature.    The identity of each
  4521.        set and the current controlling set is determined through the
  4522.        following sequences:
  4523.  
  4524.         ESC,')A'      Designate UK set as G1
  4525.         ESC,')B'      Designate ASCII set as G1
  4526.         ESC,')0'      Designate graphics set as G1
  4527.         ESC,')1'      Designate Alternate char set as G1
  4528.         ESC,')2'      Designate special graphics as G1
  4529.         ESC,'(A'      Designate UK set as G0
  4530.         ESC,'(B'      Designate ASCII set as G0
  4531.         ESC,'(0'      Designate graphics set as G0
  4532.         ESC,'(1'      Designate Alternate char set as G0
  4533.         ESC,'(2'      Designate special graphics as G0
  4534.         ESC,'D'       Move cursor down a line
  4535.         ESC,'E'       Move cursor down a line to col 0
  4536.         ESC,'M'       Move cursor up a line
  4537.         SI (15)       Shift in (use G0 char set)
  4538.         SO (14)       Shift out (use G1 char set)
  4539.  
  4540.        COM-AND implements the UK set identically to ASCII at this time.
  4541.        The graphics set, alternate set and special graphics sets use an
  4542.        approximation from the high order characters (128-255).
  4543.  
  4544.  
  4545.        Finally, COM-AND supports these inquiry sequences:
  4546.  
  4547.         ESC,Z          Report identity
  4548.         ESC,'c'       Report device attributes
  4549.         ESC,'0c'      Report device attributes
  4550.  
  4551.        The response to these three 'report' sequences above is the same
  4552.        in all cases:  VT100 without a printer (which is ESC,'[?1;2c').
  4553.  
  4554.  
  4555.  
  4556.  
  4557.  
  4558.  
  4559.  
  4560.  
  4561.  
  4562.  
  4563.  
  4564. Version 2.7: 901015                           Appendices
  4565.  
  4566. COM-AND: IBM PC Communications and Accessories                 Page  78
  4567.  
  4568.  
  4569. E.    ANSI, VT100, and VT52 graphics (continued)
  4570.     3. VT52 sequences
  4571.  
  4572.  
  4573.        COM-AND is capable of accepting VT52 escape sequences as well.
  4574.        CIS in VIDTEX mode uses a mix of ANSI, and VT52 sequences to
  4575.        format the screen.
  4576.  
  4577.  
  4578.        Beginning with version 2.3 of this program, VT52 cursor control
  4579.        is available if the Alt-V option 'VT52' is enabled (or in a
  4580.        script, 'EMULATE VT52').  COM-AND implements the following VT52
  4581.        sequences:
  4582.  
  4583.         ESC,'A'       CUU: Cursor up
  4584.         ESC,'B'       CUD: Cursor down
  4585.         ESC,'C'       CUF: Cursor forward
  4586.         ESC,'D'       CUB: Cursor backward
  4587.         ESC,'H'       CUH: Cursor home
  4588.         ESC,'J'       ES:  Erase from cursor to end of screen
  4589.         ESC,'K'       EL:  Erase from cursor to end of line
  4590.         ESC,'Yrc'     CUP: Horiz/Vert pos; r= row+32, c= col+32
  4591.         ESC,'j'       CS:  Clear screen and home cursor
  4592.         ESC,'<'       VT100: Switch to VT100 mode
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598.  
  4599.  
  4600.  
  4601.  
  4602.  
  4603.  
  4604.  
  4605.  
  4606.  
  4607.  
  4608.  
  4609.  
  4610.  
  4611.  
  4612.  
  4613.  
  4614.  
  4615.  
  4616.  
  4617.  
  4618.  
  4619. Version 2.7: 901015                           Appendices
  4620.  
  4621. COM-AND: IBM PC Communications and Accessories                 Page  79
  4622.  
  4623.  
  4624. F.    Vidtex and RLE files
  4625.  
  4626.  
  4627.     1. Vidtex
  4628.  
  4629.        COM-AND emulates a 'VIDTEX' screen mode as an option.  Vidtex
  4630.        is a special service of CompuServe (CIS).  It is enabled:
  4631.  
  4632.        o    Alt-V (set VIDTEX screen mode ON), or
  4633.        o    script "SET ENQ CISB" or "EMULATE VIDTEX" statements
  4634.  
  4635.  
  4636.        Vidtex screen mode provides several features to the CIS user:
  4637.  
  4638.        o    Screen displays are formatted to appear 'full screen'.  If
  4639.         color is available, it is used.  The current screen size is
  4640.         known to CIS as well.
  4641.        o    File transfers are automatic.  CIS asks the name a file is to
  4642.         take on your machine, and then prompts COM-AND for the
  4643.         transfer.  PgDn and PgUp are not needed.
  4644.        o    RLE files are displayed automatically.
  4645.  
  4646.  
  4647.        There are several drawbacks to the VIDTEX screen mode, too:
  4648.  
  4649.        o    CIS assumes you are going to use Quick-B for file transfers.
  4650.         It doesn't ask for alternatives.
  4651.        o    Alt-L screen size may not be toggled during a VIDTEX session.
  4652.         The screen size at the time of logon is reported to CIS, and
  4653.         there is no method (now) to report a change of size.
  4654.        o    Vidtex control sequences are captured (along with text) when
  4655.         transcripting.    These are easy to edit out, but distracting.
  4656.         Again,    VIDTEX can't be turned off easily during a session.
  4657.        o    Other systems may from time-to-time use the ENQ character for
  4658.         special functions.  You should ensure that VIDTEX mode is off
  4659.         when you use such a system.
  4660.  
  4661.  
  4662.        CIS inquires the capability of a communication program with the
  4663.        sequence: ESC,'I'.  COM-AND responds (in VIDTEX mode) with:
  4664.  
  4665.         #IBX,SSyx,AC/CA/CC,GH,GM,PB,DT,+<checksum>
  4666.  
  4667.        The SS parameter specifies screen size.  The AC/CA/CC choice is
  4668.        made according to whether color is set through Alt-J.
  4669.  
  4670.  
  4671.  
  4672.  
  4673.  
  4674. Version 2.7: 901015                           Appendices
  4675.  
  4676. COM-AND: IBM PC Communications and Accessories                 Page  80
  4677.  
  4678.  
  4679. F.    Vidtex and RLE files (continued)
  4680.  
  4681.  
  4682.     2. RLE files
  4683.  
  4684.        Although created on CompuServe, RLE (run length encoded) graphics
  4685.        files have been popular for some time on the services and BBS's.
  4686.        One reason is because the format is not machine specific.  Most
  4687.        any flavor of PC having a graphics display may view and create
  4688.        graphics images in RLE format.
  4689.  
  4690.  
  4691.        The resolution is limited (256 horizontal pixels by 192 lines).
  4692.        RLE images are monochrome (although I know that there are some
  4693.        people who've experimented with color information embedded in RLE
  4694.        files).  But RLE files do provide one medium of graphics exchange
  4695.        between differing personal computers.
  4696.  
  4697.  
  4698.        RLEs are encoded as 7 bit ASCII data.  Normally, an RLE file would
  4699.        be viewed through something like an ASCII download.    [PLINK, for
  4700.        one, has trouble with this.    It backscans text lines, removing
  4701.        blanks.  That is death for an RLE graphics image.]
  4702.  
  4703.  
  4704.        COM-AND recognizes RLE control sequences when they are encountered
  4705.        in the stream of received text.  When COM-AND encounters an RLE
  4706.        sequence, it attempts to switch to graphics mode.  If successful,
  4707.        COM-AND then displays the image as it is received, and buffers the
  4708.        image in a temporary file.  Upon completion of the image, COM-AND
  4709.        prompts for a save file name.  You may ignore the save step, and
  4710.        throw away the picture in good conscience, as you now know what it
  4711.        shows.  Or you may of course opt to save it for later playback.
  4712.  
  4713.        You may disable this feature of COM-AND through the Alt-O options
  4714.        menu.
  4715.  
  4716.        ---------------------------------------------------------------
  4717.        CIS Users NOTE:  CIS 'tests' your terminal program each time you
  4718.        request an RLE viewing.  COM-AND responds to the test only if you
  4719.        have set emulation to 'VIDTEX' or used the equivalent script
  4720.        statement.
  4721.  
  4722.        If the option is not enabled, CIS will tell you "Your terminal
  4723.        program is not equipped ...    do you wish to proceed?" If you
  4724.        answer "Y", CIS will send the RLE file, and COM-AND will display
  4725.        it nicely.
  4726.  
  4727.  
  4728.  
  4729. Version 2.7: 901015                           Appendices
  4730.  
  4731. COM-AND: IBM PC Communications and Accessories                 Page  81
  4732.  
  4733.  
  4734. G.    External protocol drivers
  4735.  
  4736.  
  4737.     COM-AND supports external protocol drivers through its F1 (access-
  4738.     sories) menu.  You may edit the entries in the F1 menu to load and
  4739.     execute just about any program you might wish (and have memory for).
  4740.     If you limit the F1 entries to simple script invocations, you may
  4741.     also use the script name through F2.
  4742.  
  4743.     For example, you might wish to add ZMODEM or True YMODEM (tm)
  4744.     capability to COM-AND.    You may do this with Chuck Forsberg's
  4745.     DSZ.COM program.  DSZ is a module that may be run from within other
  4746.     comm programs to perform ZMODEM transfers (and X/Ymodem transfers
  4747.     too).  DSZ is revised quite often (to expand its function), and is
  4748.     available on most systems.
  4749.  
  4750.     For downloading purposes, no script is needed to invoke DSZ.  How-
  4751.     ever, as mentioned above, the F1 entry will be coded to use a script
  4752.     to allow the same script to be manually invoked through F2.  The file
  4753.     name used for the downloaded file will be determined by the sender.
  4754.     Revise an F1 entry (with the 'r' subcommand) as follows:
  4755.  
  4756.         Name:        Download using YMODEM
  4757.         Subdirectory:    (whatever subdirectory your DSZ occupies)
  4758.         Program:        (leave this field blank)
  4759.         Script:        DSZDOWN.CMD
  4760.  
  4761.     The script DSZDOWN.CMD might be written:
  4762.     ------------------------------------------------------------------
  4763.     COMPARMS S1        ; read current settings
  4764.     S2 =  "DSZ.COM port " * S1(14:14) * " rb " ; Ask for YMODEM rcv
  4765.     RUN S2            ; Load and run DSZ
  4766.     ------------------------------------------------------------------
  4767.     Note: change " rb " to " rz " for ZMODEM
  4768.     ------------------------------------------------------------------
  4769.  
  4770.     DSZ requires a file name for uploading.  You can accomplish this by
  4771.     editing the F1 menu as follows, and creating a script.
  4772.  
  4773.         Name:        Upload using YMODEM
  4774.         Subdirectory:    (whatever subdirectory DSZ/DSZUP occupies)
  4775.         Program:        (leave this field blank)
  4776.         Script:        DSZUP.CMD
  4777.  
  4778.     An example script DSZUP.CMD follows on the next page.
  4779.  
  4780.  
  4781.  
  4782.  
  4783.  
  4784. Version 2.7: 901015                           Appendices
  4785.  
  4786. COM-AND: IBM PC Communications and Accessories                 Page  82
  4787.  
  4788.  
  4789. G.    External protocol drivers (continued)
  4790.  
  4791.  
  4792.     The script DSZUP.CMD might be written:
  4793.     ------------------------------------------------------------------
  4794.     MESSAGE "^MEnter the upload file name: "
  4795.     GET S0            ; Read keyboard
  4796.     COMPARMS S1        ; read current settings
  4797.     S2 =  "DSZ.COM port " * S1(14:14) * " sb " * S0 ; ask for YMODEM
  4798.     sb" RUN S2                  ; Load and run DSZ
  4799.     ------------------------------------------------------------------
  4800.     Note: change " sb " to " sz " for ZMODEM
  4801.     ------------------------------------------------------------------
  4802.  
  4803.  
  4804.     DSZ defaults to COM1 and your current baud rate.  The above scripts
  4805.     adjust for the comm port you're using.  The above scripts (or better)
  4806.     are included in the SCRIPTS.ARC file released with COM-AND.
  4807.  
  4808.  
  4809.     NOTE: DSZ is user supported.  If you use it, please register it!
  4810.     DSZ may be found on most bulletin boards, and on every major system.
  4811.     Registration information is provided with every release of DSZ.
  4812.  
  4813.  
  4814.  
  4815.  
  4816.  
  4817.  
  4818.  
  4819.  
  4820.  
  4821.  
  4822.  
  4823.  
  4824.  
  4825.  
  4826.  
  4827.  
  4828.  
  4829.  
  4830.  
  4831.  
  4832.  
  4833.  
  4834.  
  4835.  
  4836.  
  4837.  
  4838.  
  4839. Version 2.7: 901015                           Appendices
  4840.  
  4841. COM-AND: IBM PC Communications and Accessories                 Page  83
  4842.  
  4843.  
  4844. H.    Modem Configuration
  4845.  
  4846.  
  4847.     COM-AND default values do not require your modem to be configured
  4848.     in any particular manner.  However, certain features cannot be used
  4849.     unless you configure your modem before you use COM-AND.
  4850.  
  4851.  
  4852.     1. DTR (Data Terminal Ready)
  4853.  
  4854.        COM-AND, by default, hangs up using the command sequences defined
  4855.        through the Alt-S setup (hangup and modem escape).  However, you
  4856.        may alternately select 'Drop DTR to hangup' through the Alt-O
  4857.        options.  Dropping DTR is the only way to hangup certain modems,
  4858.        and is generally much faster than the command sequences.
  4859.  
  4860.        Most Hayes compatible modems allow configuration of the DTR sense
  4861.        through a switch-block.  If you wish to use DTR to hangup, be sure
  4862.        that your modem follows the DTR signal.  Refer to the documenta-
  4863.        tion provided with your modem to be sure that option switches are
  4864.        set appropriately.
  4865.  
  4866.  
  4867.     2. CD (Carrier Detect)
  4868.  
  4869.        COM-AND (presently) uses the CD sense line for several purposes.
  4870.        The 'CONNECTED' test supported in the script language, test for
  4871.        carrier detect upon exit, and the file transfer protocols all
  4872.        require that the modem report carrier detect.  True carrier detect
  4873.        is the only way to determine if you are 'on-line' or 'off-line'.
  4874.  
  4875.        Many Hayes compatible modems are sold with a carrier detect
  4876.        override (in other words the modem reports carrier detect all the
  4877.        time).  When carrier detect is overridden, COM-AND cannot detect
  4878.        when carrier is lost during a file transfer or whether to ask if
  4879.        you want to hangup when you exit to DOS.
  4880.  
  4881.        Be sure that the modem is reporting true CD (instead of it just
  4882.        saying 'yes').  Most Hayes compatible modems allow configuration
  4883.        of the CD sense through a switch-block.  Refer to the documenta-
  4884.        tion provided with your modem to be sure that option switches are
  4885.        set appropriately.
  4886.  
  4887.  
  4888.  
  4889.  
  4890.  
  4891.  
  4892.  
  4893.  
  4894. Version 2.7: 901015                           Appendices
  4895.  
  4896. COM-AND: IBM PC Communications and Accessories                 Page  84
  4897.  
  4898.  
  4899. I.    Environment variables
  4900.  
  4901.  
  4902.     COM-AND uses environment variables to default files names.  Two
  4903.     environment variables are relevant to COM-AND.    The "COM-AND='
  4904.     environment variable specifies a default path for certain file names,
  4905.     and "COMSPEC=" specifies the shell program name.
  4906.  
  4907.  
  4908.     1. COM-AND=
  4909.  
  4910.        COM-AND searches the current subdirectory and then the subdirec-
  4911.        tory indicated by the environment variable "COM-AND=" (if present)
  4912.        for the following files:
  4913.  
  4914.        . COM-AND.DFT    (Default settings and values)
  4915.        . COM-AND.DIR    (Dialing directory)
  4916.        . COM-AND.MAC    (Macro definitions)
  4917.        . COM-AND.ACC    (Accessory definitions)
  4918.        . COM-AND.RMP    (Remap definition)
  4919.        . COM-AND.XLT    (Translate tables)
  4920.  
  4921.  
  4922.        COM-AND also uses this environment variable searching for script
  4923.        file names.    However, script files are also searched using (a) the
  4924.        supplied extension, (b) the extension ".CMD" and (c) the extension
  4925.        ".ENF" (for encrypted files).  So, the search for script files is
  4926.        a little bit longer than the search for the above files.
  4927.  
  4928.  
  4929.        COM-AND accessories use the "COM-AND=" environment variable to
  4930.        find COM-AND.EXE when they are loaded without COM-AND.  For this
  4931.        reason it is recommended that COM-AND.EXE be in that subdirectory.
  4932.  
  4933.  
  4934.        Refer to your DOS manual (the SET command) for information about
  4935.        environment variables and how to create them.  As an example, you
  4936.        might place COM-AND in the C:\COM-AND subdirectory.    You should
  4937.        then add the following line to your c:\AUTOEXEC.BAT file:
  4938.  
  4939.                  SET COM-AND=C:\COM-AND
  4940.  
  4941.  
  4942.  
  4943.  
  4944.  
  4945.  
  4946.  
  4947.  
  4948.  
  4949. Version 2.7: 901015                           Appendices
  4950.  
  4951. COM-AND: IBM PC Communications and Accessories                 Page  85
  4952.  
  4953.  
  4954. I.    Environment variables (continued)
  4955.  
  4956.  
  4957.     2. COMSPEC=
  4958.  
  4959.  
  4960.        COM-AND uses the environment variable "COMSPEC=" to identify the
  4961.        shell program to be used when Alt-F10'ing or executing the SHELL
  4962.        script command.  This environment variable is already set in most
  4963.        installations.
  4964.  
  4965.  
  4966.     3. Other variables
  4967.  
  4968.  
  4969.        COM-AND's script language allows access to environment variables
  4970.        through the ENVIRON statement.  Scripts written for COM-AND may
  4971.        therefore be sensitive to environment variables.
  4972.  
  4973.        The script statement "EBL" and EBLSET" look for a 'BATINT='
  4974.        environment variable to set the (hex) interrupt number for EBL.
  4975.  
  4976.  
  4977.  
  4978.  
  4979.  
  4980.  
  4981.  
  4982.  
  4983.  
  4984.  
  4985.  
  4986.  
  4987.  
  4988.  
  4989.  
  4990.  
  4991.  
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  
  4998.  
  4999.  
  5000.  
  5001.  
  5002.  
  5003.  
  5004. Version 2.7: 901015                           Appendices
  5005.  
  5006. COM-AND: IBM PC Communications and Accessories                 Page  86
  5007.  
  5008.  
  5009. J.    Background operation
  5010.  
  5011.  
  5012.     COM-AND may be used as a background process with several of the
  5013.     available multi-tasking operating environments.  In particular,
  5014.     file transfers are buffered, and send is interrupt driven to
  5015.     provide maximum efficiency when used as a background processor
  5016.     (which of course means more efficiency in foreground mode, too).
  5017.  
  5018.  
  5019.     COM-AND has been made 'shadow-buffer' aware... if an operating
  5020.     environment such as DesqView or Windows establishes a shadow-buffer
  5021.     for the screen, COM-AND uses it.  Thus, COM-AND does not need to be
  5022.     flagged as "writing directly to the screen" under such environments.
  5023.  
  5024.  
  5025.     The only exception to this is RLE displays in interactive mode (RLE
  5026.     displays are inhibited during the script processor).  RLE displays
  5027.     switch the screen from text to graphics modes; during RLE display
  5028.     all access to the screen is performed using BIOS write-pixel calls
  5029.     However, you should turn RLE displays off (through Alt-O) if you
  5030.     plan on using COM-AND regularly in background mode, and view RLEs.
  5031.  
  5032.  
  5033.     The distribution of COM-AND includes a PIF and ICO (icon) file for
  5034.     Windows and a DVP file for DesqView.
  5035.  
  5036.  
  5037.  
  5038.  
  5039.  
  5040.  
  5041.  
  5042.  
  5043.  
  5044.  
  5045.  
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052.  
  5053.  
  5054.  
  5055.  
  5056.  
  5057.  
  5058.  
  5059. Version 2.7: 901015                           Appendices
  5060.  
  5061. COM-AND: IBM PC Communications and Accessories                 Page  87
  5062.  
  5063.  
  5064. K.    Encoded music
  5065.  
  5066.  
  5067.     Beginning with version 2.3, COM-AND uses encoded music strings for
  5068.     several different purposes:
  5069.  
  5070.     .  If the file COM-AND.TUN exists on the default drive:subdirectory
  5071.        (or on the COM-AND= drive:subdirectory), and it contains a valid
  5072.        encoded music string (not to exceed 40 notes), COM-AND will use
  5073.        the encoded string for its alarm.
  5074.  
  5075.     .  The alarm tune may be changed with a "SET TUNE" command through
  5076.        a script file.  The new alarm tune holds until it is changed,
  5077.        or until COM-AND is terminated.
  5078.  
  5079.     .  A script may PLAY an encoded music string during its execution
  5080.        (up to 80 notes).
  5081.  
  5082.     .  An escape sequence to play music has been implemented (for some
  5083.        RBBS boards).  The escape sequence is "ESC [M <music string> ^N"
  5084.        allowing up to 255 characters for the <music string>.
  5085.  
  5086.  
  5087.     The script ALARM.CMD is included with this release.  ALARM contains
  5088.     a number of simple melodies that may be substituted for the alarm
  5089.     tune.  The ALARM script allows the tunes to be sampled, and one may
  5090.     be selected permanently (if it doesn't hurt the ear...).  Permanent
  5091.     selection means that the script creates a file, COM-AND.TUN which
  5092.     will be used by COM-AND every time it is loaded.
  5093.  
  5094.  
  5095.     Syntax for music statements will be found in an appendix to the
  5096.     CASCRIPT.DOC document.    The interested reader is refered there.
  5097.  
  5098.  
  5099.  
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105.  
  5106.  
  5107.  
  5108.  
  5109.  
  5110.  
  5111.  
  5112.  
  5113.  
  5114. Version 2.7: 901015                           Appendices
  5115.  
  5116. COM-AND: IBM PC Communications and Accessories                 Page  88
  5117.  
  5118.  
  5119. L.    BIOS com Read/Write
  5120.  
  5121.  
  5122.     Beginning with version 2.3 of COM-AND, BIOS read/write comm port
  5123.     calls are intercepted by COM-AND.  When the port number matches
  5124.     the comm port currently opened by COM-AND, COM-AND makes available
  5125.     its interrupt driven read/write procedures.  Only read/write
  5126.     are supported.    Open (change parameters) and status are stubbed.
  5127.  
  5128.  
  5129.     COM-AND's interception of BIOS comm port calls opens some doors for
  5130.     the wary.  For example, the following script is useful:
  5131.  
  5132.         KFLUSH            ; Clear the keyboard buffer
  5133.         STACK "CTTY COM2:!"     ; Stack a cmd for DOS
  5134.         SHELL            ; Shell-to-DOS
  5135.  
  5136.     After the shell-to-DOS, DOS functions are available through the comm
  5137.     port.  If COM-AND had previously established a connection through the
  5138.     modem (dialed another PC, or used the CONNECT script to answer the
  5139.     phone), then DOS would be available to the caller!  [Note that only
  5140.     very-well-behaved programs may be used through this link.  A program
  5141.     that writes to screen memory or intercepts keyboard interrupts WILL
  5142.     NOT be available, and will make it difficult to terminate remotely.]
  5143.  
  5144.  
  5145.     Programs using no more communications support than that provided by
  5146.     BIOS may use COM-AND's communications, and act as accessories.  Such
  5147.     programs, when loaded through the accessory menu (or DOS Gateway)
  5148.     take advantage of COM-AND's communication support (and XON/XOFF flow
  5149.     control).
  5150.  
  5151.  
  5152.     The author would be interested in hearing of any applications
  5153.     developed to use this feature, and would be interested in discussing
  5154.     its future refinement.
  5155.  
  5156.  
  5157.  
  5158.  
  5159.  
  5160.  
  5161.  
  5162.  
  5163.  
  5164.  
  5165.  
  5166.  
  5167.  
  5168.  
  5169. Version 2.7: 901015                           Appendices
  5170.  
  5171. COM-AND: IBM PC Communications and Accessories                 Page  89
  5172.  
  5173.  
  5174. M.    Modem initialization
  5175.  
  5176.  
  5177.     COMMON MODEM PARAMETER INITIALIZATION VALUES for USE WITH COM-AND
  5178.     and OTHER COMMON COMMUNICATIONS PROGRAMS,     by Jim Aspinwall
  5179.     -----------------------------------------------------------------
  5180.  
  5181.     As a user of computer modems and communications software, you should
  5182.     be aware of several aspects that affect your modem, your software,
  5183.     and successful on-line operation.
  5184.  
  5185.     It seems that the most common problems we have encountered have to
  5186.     do with how or if the modem reports back on the status of the
  5187.     Carrier Detect (DCD or CD) signal.  That is, whether or not you are
  5188.     on-line, connected to another modem.  Also, how the modem responds
  5189.     to the Data Terminal Ready (DTR) signal from the terminal or PC.
  5190.  
  5191.     In many cases the modems we use have default or factory configura-
  5192.     tions that cause DCD to indicate that you are on-line at all times,
  5193.     even if there has been no connection made; and the modem acts like
  5194.     the terminal or software is active all of the time.
  5195.  
  5196.     This situation does not always prohibit proper communications, but
  5197.     it does make some operations inefficient, or causes error messages
  5198.     that are inaccurate.  Setting these and other parameters to the
  5199.     values we have shown below, or equivalent values specific to your
  5200.     modem, have resulted in very successful on-line operations for a
  5201.     great many users.
  5202.  
  5203.     You must also correlate some of the modem values to corresponding
  5204.     values in your communications software.  One value of particular
  5205.     note is the modem's S7 register.  The value in this register sets
  5206.     how long the modem waits for a carrier after dialing a call.  Most
  5207.     modems use 40 seconds as a default.  It is likely that your com-
  5208.     munications software also provides a Wait-For-Carrier parameter
  5209.     for its operation.
  5210.  
  5211.     If these two values are different, you may get unexpected results in
  5212.     originating calls.  Either the modem hangs-up before the call is
  5213.     established while the software is still waiting, or the software
  5214.     aborts the call origination before enough time has elapsed.  Setting
  5215.     the parameter at the modem S7 register does not set the value in
  5216.     your software, and setting the value in the software does not reset
  5217.     it for the modem.  There are a few other parameters that may exhibit
  5218.     this difference, so you should read the modem and software documen-
  5219.     tation carefully.
  5220.  
  5221.  
  5222.  
  5223.  
  5224. Version 2.7: 901015                           Appendices
  5225.  
  5226. COM-AND: IBM PC Communications and Accessories                 Page  90
  5227.  
  5228.  
  5229. M.    Modem initialization (continued)
  5230.  
  5231.  
  5232.     As annoying as it may seem to issue YET ANOTHER reminder about doc-
  5233.     umentation, it IS very helpful to read through it all, even if you
  5234.     think you will not understand or need it all, at first.  Once you
  5235.     have become familiar with what information is where you will be able
  5236.     to recognize problems and their solutions as they arise.  Many
  5237.     veteran users are pleasantly surprised
  5238.  
  5239.  
  5240.     Product R&D Corp.: (per Charlie)
  5241.     -----------------
  5242.       AT&C1S7=60S11=40V1X1
  5243.  
  5244.  
  5245.     MICROCOM 9624c: (per Mike, modified 891103)
  5246.     --------------
  5247.       Modem Init:    ATE1\C1\G0\J1\K5\N3\Q0&T5\V1V1\X1S0=0^M
  5248.       Dial Command: AT\N3DT
  5249.  
  5250.       Alt-P:    9600,N,8,1,COM1
  5251.       Alt-O:    Keyboard=ON
  5252.             Drop DTR=ON
  5253.       Alt-S:    Break Delay=250 ms
  5254.             Alarm Duration=3 sec
  5255.  
  5256.  
  5257.     Everex 2400 internal (older style?): (per Jim)
  5258.     -----------------------------------
  5259.       Switches 1 and 2 - as appropriate for COM 1,2,3 or 4
  5260.       Switches 3,4,5 - OFF (default)
  5261.       String = AT&D2S7=60^M (the &D2 sets proper DTR, can also be done
  5262.                  with S21=48 or S21=112 (default=96))
  5263.  
  5264.  
  5265.     Leading Edge 2400B half-size internal: (per Jim)
  5266.     -------------------------------------
  5267.       Switches 1 and 2 - COM 1,2,3,4 selection
  5268.       Switches 3,4,5,6 - OFF - default
  5269.       String = ATS7=60X3^M (there are no &... settings and no S21, DCD
  5270.                 and DTR are set by switches)
  5271.  
  5272.  
  5273.     Practical Peripherals 2400 half-size internal: (per Jim)
  5274.     ---------------------------------------------
  5275.       Switch on rear selects COM 1 or 2
  5276.       String = AT&C1&D2L0X3^M  (S21=117 is another way of doing &C1&D2)
  5277.  
  5278.  
  5279. Version 2.7: 901015                           Appendices
  5280.  
  5281. COM-AND: IBM PC Communications and Accessories                 Page  91
  5282.  
  5283.  
  5284. M.    Modem initialization (continued)
  5285.  
  5286.  
  5287.     Everex, Evercom 24+ (MNP): (per Mike)
  5288.     -------------------------
  5289.       Modem INIT string:  AT\N3\Q1\K5\V1\X1\C1^M
  5290.       Dialing Prefix:     AT\N3DT (\N3 forces the modem to MNP)
  5291.       Break Delay:          250 ms
  5292.       Drop DTR on Hangup: ON
  5293.  
  5294.  
  5295.     Ven-Tel Pathfinder 18k: (per Jim)
  5296.     ----------------------
  5297.       Init String: ATS0=0S7=60S51=5S52=1S53=1S58=2S66=1S95=2&W^M
  5298.  
  5299.       AutoAnswer Off/Wait 60secs for carrier/Serial Port at 19,200
  5300.       DTR active/DCD active/Hardware handshake/Lock Serial Port/Auto MNP
  5301.  
  5302.       With these settings set into the modem and written (&W) once the
  5303.       user can recall them (INIT) using AT&E^M, instead of the entire
  5304.       string. It is handy to place this string in a comm. program macro
  5305.       for later use, should the modem get reset to factory values or
  5306.       other events change the desired settings.
  5307.  
  5308.       FACTORY   Jim's     Function and Notes
  5309.       DEFAULT   Usage     about settings
  5310.       -------   -----     ------------------
  5311.       S0=1        S0=0      This depends on ORIG/ANSWER side
  5312.       S7=40     S7=60     Longer for some calls/systems...
  5313.       S45=0     S45=0     Keep disabled (0) for secure/support operations
  5314.       S50=0     S50=0     Auto-speed (starts high, allows other uses)
  5315.       S51=4     S51=5     19,200 VS. 9600 SERIAL LINE
  5316.       S52=0     S52=1     DTR must be active...
  5317.       S53=0     S53=1     DCD must be active...
  5318.       S58=3     S58=2     Hardware handshake is faster
  5319.       S61=45    S61=0-255 Speaker volume, =<45 is best.
  5320.       S66=0     S66=1     Lock serial speed, flow control
  5321.       S95=0     S95=2     Auto-reliable MNP mode
  5322.       S110=255  S110=255  Compression depends on other side
  5323.             S110=1    To control remote's compression ON
  5324.       S111=255  S111=255  Protocol depends on other side
  5325.             S111=10   KERMIT 8,n,1
  5326.             S111=20   XMODEM
  5327.             S111=30   UUCP
  5328.  
  5329.       Note : Only items with remarks need to be changed and re-written
  5330.       to the EEPROM ( with &W) vs. factory defaults. ATZ recalls all
  5331.       parameters to Factory defaults. AT&E recalls EEPROM values.
  5332.  
  5333.  
  5334. Version 2.7: 901015                           Appendices
  5335.  
  5336. COM-AND: IBM PC Communications and Accessories                 Page  92
  5337.  
  5338.  
  5339. N.    COM-AND's Backscreen
  5340.  
  5341.  
  5342.     This is not a defense.    It is offered in the way of a useful
  5343.     explanation, and even offers a solution to a problem (I hope!).
  5344.  
  5345.     COM-AND implements the 'backscreen' function (Alt-B) in an unusual
  5346.     manner.  Unlike most backscreen capable applications, when COM-AND's
  5347.     backscreen is invoked, the oldest text in the backscreen buffer is
  5348.     displayed.  Most backscreen functions display the most recent text
  5349.     first, allowing immediate access to what has scrolled off screen.
  5350.  
  5351.     Further, COM-AND only pages through the backscreen.  You cannot
  5352.     scroll its backscreen line-by-line.
  5353.  
  5354.     COM-AND's unusual backscreen is determined by three factors (ignoring
  5355.     its author's limitations, please).  The factors are:
  5356.  
  5357.     o    COM-AND allows the unformatted capture of text that has
  5358.         scrolled off the screen (with only the edits imposed by
  5359.         transcripting).
  5360.  
  5361.     o    COM-AND's backscreen is available to its accessories.  The
  5362.         text is displayed as if it had been received by the accessory
  5363.         itself.  Similarly, text received during an accessory is
  5364.         available later to COM-AND, and displayed as if COM-AND had
  5365.         received it.
  5366.  
  5367.     o    Other products may be used with COM-AND to provide a more
  5368.         usual manner of backscreen.
  5369.  
  5370.  
  5371.     The author would be pleased to discuss the tradeoffs implied by (1)
  5372.     dropping the capture buffer feature and accessory backscreen, or (2)
  5373.     implementing two backscreen buffers, one for capture, and another for
  5374.     display.
  5375.  
  5376.     For those who absolutely require a backscreen that displays the most
  5377.     recent text first, the author recommends FANSI heartily.  FANSI is
  5378.     discussed above (Appendix E).  FANSI is available commercially from
  5379.     its developer.    Buyers are given instruction on the use of its
  5380.     backscreen.  FANSI is so generally useful, that this author finds it
  5381.     difficult to use a machine without it.
  5382.  
  5383.     With FANSI (or some other backscreen capable system utility),
  5384.     COM-AND offers the best of both worlds:  immediate access to the
  5385.     oldest buffered text (with capture), and immediate access to the
  5386.     most recent.
  5387.  
  5388.  
  5389. Version 2.7: 901015                           Appendices
  5390.  
  5391. COM-AND: IBM PC Communications and Accessories                 Page  93
  5392.  
  5393.  
  5394. O.    Customizing COM-AND
  5395.  
  5396.  
  5397.     Several methods are immediately available to customize COM-AND for
  5398.     particular purposes.  Some script authorship is required, but the
  5399.     result a communications program tailored to an exact application.
  5400.     Beyond customization of the existing COM-AND product, other custom-
  5401.     izations are possible and negotiable.
  5402.  
  5403.  
  5404.     1) COM-AND initialization
  5405.  
  5406.        When COM-AND is loaded, it performs an initialization process
  5407.        (opening the comm port, sending an init string, opening files, and
  5408.        so on).  After initialization, a shareware advertisement is dis-
  5409.        played (unless turned off in Alt-O).  After the advert, if a
  5410.        script named COM-AND.CMD is found in the current default subdirec-
  5411.        tory OR the "COM-AND=" environment variable indicated subdirec-
  5412.        tory, that script is executed.
  5413.  
  5414.        A simple COM-AND.CMD script may be created to display an opening
  5415.        screen, set options and values to your preference, and to offer an
  5416.        initial menu.  For example, a menu might be offered making func-
  5417.        tion key F1 dial a certain number, function key F3 enter COM-AND
  5418.        proper and function key F5 exit COM-AND back to DOS.
  5419.  
  5420.  
  5421.     2) COM-AND termination
  5422.  
  5423.        When COM-AND is terminated (either by Alt-X or through the script
  5424.        statement "BYE"), COM-AND tests for carrier (may be turned off by
  5425.        Alt-O or "SET CDRESPECT OFF").  If carrier is found (if tested), a
  5426.        prompt for hangup is issued.  After the carrier test, COM-AND
  5427.        tests to determine if an "exit script" has been established.  If
  5428.        an exit script has been named, COM-AND attempts to execute it.
  5429.  
  5430.        Exit scripts are defined through the script statement "SET EXIT".
  5431.        If the indicated file does not exist, COM-AND terminates.  If the
  5432.        indicated file exists, COM-AND executes it as a script.
  5433.  
  5434.        Upon Alt-X then, COM-AND may be customized to provide a menu of
  5435.        choices (e.g. dial another system, and a list of systems).  When
  5436.        established, the exit script determines if COM-AND is actually to
  5437.        terminate, or to continue.
  5438.  
  5439.  
  5440.  
  5441.  
  5442.  
  5443.  
  5444. Version 2.7: 901015                           Appendices
  5445.  
  5446. COM-AND: IBM PC Communications and Accessories                 Page  94
  5447.  
  5448.  
  5449. O.    Customizing COM-AND (continued)
  5450.  
  5451.  
  5452.     3) DOS after COM-AND
  5453.  
  5454.        An interesting feature of COM-AND's script language is the state-
  5455.        ment "STACK".  STACK places a string into the BIOS keyboard
  5456.        buffer.  An exit script might easily offer selections that invoke
  5457.        other programs through DOS.    For example, the script:
  5458.  
  5459.         SET TTHRU OFF        ; Turn off script typethrough
  5460.         STACK "DIR *.*!"        ; Set-up to execute a DOS DIR cmd
  5461.         BYE            ; Terminate com-and and do a DIR
  5462.  
  5463.        terminates COM-AND (without hanging up... be careful), and
  5464.        executes a DIR *.* through DOS.  More interesting things might
  5465.        be found, I'm sure, to do with DOS.... but the point is made.
  5466.  
  5467.     4) Keyboard remapping
  5468.  
  5469.        COM-AND maps the Alt'd and function keys on the PC keyboard in a
  5470.        manner consistent with (the author's experience of) common usage.
  5471.        Other maps for the PC keyboard may well be imagined.  The keyboard
  5472.        remap function (available through the REMAP.CMD script) makes it
  5473.        very possible to change the assignments.
  5474.  
  5475.        As the simplest example, COM-AND's F10 help window might be con-
  5476.        sidered inadequate (the author thinks it is...).  To change this
  5477.        sad state of affairs, the following remap might be created:
  5478.  
  5479.         F10 = 255 "HELP" CR
  5480.  
  5481.        This remap says in effect:  When the F10 key is pressed, COM-AND
  5482.        will see the character with value 255, the characters "H" "E" "L"
  5483.        and "P", and a CR.  255 as a character is documented above under
  5484.        Alt-M Macros.  The character 255 in COM-AND has the same function
  5485.        as F2 (run a script), but does not pop up a window and search the
  5486.        drive for all files *.CMD and *.ENF.  "HELP" would be interpreted
  5487.        by the 255 function as a script name (either HELP., HELP.CMD or
  5488.        HELP.ENF on the default or COM-AND= subdirectory).  The CR causes
  5489.        the 255 function to execute the script named HELP.
  5490.  
  5491.        So...  one might write one's own help window (see the help screens
  5492.        in FILEMGR or LEARN), call it HELP.CMD, put it in the COM-AND=
  5493.        subdir, and never see the author's idea of a HELP summary again.
  5494.        It might be paginated, indexed, what-have-you.
  5495.  
  5496.  
  5497.  
  5498.  
  5499. Version 2.7: 901015                           Appendices
  5500.  
  5501. COM-AND: IBM PC Communications and Accessories                 Page  95
  5502.  
  5503.  
  5504. O.    Customizing COM-AND (continued)
  5505.  
  5506.  
  5507.     5) Functional customization
  5508.  
  5509.        The author of COM-AND will customize a version of COM-AND for
  5510.        anyone licensing 30 or more copies of COM-AND (site license).
  5511.        This customization is limited to:
  5512.  
  5513.        .    Alt-I Information screen:  10 lines of the program informa-
  5514.         tion screen are devoted to a description of COM-AND and its
  5515.         accessories in the 'standard' edition.  CABER Software will
  5516.         encode any information a licensee (meeting the quantity
  5517.         restriction) requests in this space.  CABER Software will
  5518.         retain the last lines of the window for itself.
  5519.  
  5520.        .    Copyright statement upon termination: CABER software will
  5521.         change the program termination notice from:
  5522.  
  5523.             "Freely redistributable; R. Scott McGinnis <date>"
  5524.  
  5525.         to  "Licensed from CABER Software (all rights reserved),
  5526.              <date>, by: <licensee name>"
  5527.  
  5528.        .    Customization is limited to the current version of COM-AND.
  5529.         The same customization, applied to later releases of COM-AND
  5530.         may be had from CABER Software upon request, for a fee of
  5531.         $15.00 each release.  CABER Software will not automatically
  5532.         update customized versions.
  5533.  
  5534.  
  5535.        Other functional customizations are negotiable.
  5536.  
  5537.  
  5538.  
  5539.  
  5540.  
  5541.  
  5542.  
  5543.  
  5544.  
  5545.  
  5546.  
  5547.  
  5548.  
  5549.  
  5550.  
  5551.  
  5552.  
  5553.  
  5554. Version 2.7: 901015                           Appendices
  5555.  
  5556. COM-AND: IBM PC Communications and Accessories                 Page  96
  5557.  
  5558.  
  5559. P.    BIOS (INT 14h) communications
  5560.  
  5561.  
  5562.     With version 2.7 COM-AND may be directed to invoke BIOS services for
  5563.     communications.  Communications programs, per se, exist in large part
  5564.     BECAUSE of the BIOS comm service routines...  what BIOS provided in
  5565.     the early days of the PC was generally useless; to perform communica-
  5566.     tions work, one wrote one's own.
  5567.  
  5568.  
  5569.     However, at this date, it is becoming common for LAN modem servers
  5570.     and special purpose communications gear to 'take over' the BIOS ser-
  5571.     vice routines, and replace them with special code.  COM-AND now pro-
  5572.     vides the capability to override its own communications driver (in-
  5573.     ternal) and be directed to use the BIOS service routines instead.
  5574.  
  5575.  
  5576.     Due to the nature of the original BIOS service call definitions,
  5577.     certain COM-AND functions are disabled or ignored when COM-AND is
  5578.     directed to invoke BIOS for communications.
  5579.  
  5580.         . When COM-AND is run /p, the Alt-P value (script COMPARM)
  5581.           shown for the 'current setting' only reflects the default
  5582.           set for COM-AND.  BIOS doesn't allow settings to be read.
  5583.  
  5584.         . True break is disabled (Ctl-End).  The original BIOS has no
  5585.           facility to perform true break.
  5586.  
  5587.         . DROP DTR is ignored even if set.  Some versions of BIOS
  5588.           do and some don't allow access to DTR.
  5589.  
  5590.         . RTS Flow control is ignored even if set, for the same
  5591.           reason as DROP DTR is ignored.
  5592.  
  5593.  
  5594.  
  5595.  
  5596.  
  5597.  
  5598.  
  5599.  
  5600.  
  5601.  
  5602.  
  5603.  
  5604.  
  5605.  
  5606.  
  5607.  
  5608.  
  5609. Version 2.7: 901015                           Appendices
  5610.  
  5611. COM-AND: IBM PC Communications and Accessories                 Page  97
  5612.  
  5613.  
  5614. P.    BIOS (INT 14h) communications (continued)
  5615.  
  5616.  
  5617.     This modification is not intended to be used with BIOS proper, al-
  5618.     though it can be (at 300 baud).  BIOS proper does not provide an
  5619.     interrupt service routine; therefore, the comm port must be cons-
  5620.     tantly 'sampled' to find if a character has been received.  At 300
  5621.     baud, with a fast CPU, BIOS sampling is possible.  At 1200 baud, even
  5622.     with a 16Mhz machine, characters are dropped.
  5623.  
  5624.  
  5625.     To direct COM-AND to use BIOS communications, run COM-AND thusly:
  5626.  
  5627.         "d>" COM-AND BIOS <other switches and parameters>
  5628.  
  5629.  
  5630.     COM-AND's BIOS redirection uses the base addresses set through Alt-P.
  5631.     It overrides default BIOS base addresses.
  5632.  
  5633.  
  5634.     When BIOS redirection is used, COM-AND does NOT replace the INT 14h
  5635.     BIOS service routines with its own driver.  COM-AND simply uses the
  5636.     service routines provided.
  5637.  
  5638.  
  5639.  
  5640.  
  5641.  
  5642.  
  5643.  
  5644.  
  5645.  
  5646.  
  5647.  
  5648.  
  5649.  
  5650.  
  5651.  
  5652.  
  5653.  
  5654.  
  5655.  
  5656.  
  5657.  
  5658.  
  5659.  
  5660.  
  5661.  
  5662.  
  5663.  
  5664. Version 2.7: 901015                           Appendices
  5665.  
  5666. COM-AND: IBM PC Communications and Accessories                 Page  98
  5667.  
  5668.  
  5669. P.    16550A(N) UARTs
  5670.  
  5671.  
  5672.     A UART is the 40 pin chip in the serial board.    UART means Universal
  5673.     Asynchronous Receiver Transmitter.  The UART chip converts an 8 bit
  5674.     byte from parallel to serial, sending, and from serial to parallel,
  5675.     receiving.  This is the electronic base for serial communications.
  5676.  
  5677.     The original UART used in PCs was the 8250.  This was (relatively)
  5678.     slow, but adequate for the 4.77 Mhz bus speed of the PC and XT.  With
  5679.     the 8 Mhz bus speed of the AT, a faster chip was needed.  The 16450
  5680.     was used.  The 8250 and 16450 chips are functionally identical, and
  5681.     are pin compatible.  Many AT computers come with an 8250 UART now on
  5682.     their serial port.
  5683.  
  5684.     To gain maximum efficiency from certain modems, the serial port is
  5685.     set fixed to 19,200 baud.  Most computers can keep up with that.
  5686.     However, expansion boards such as (some) disk controllers, and (some)
  5687.     Network Interface cards tie up the machine for (relatively) long
  5688.     intervals of time.  When interrupts are suppressed for more than one
  5689.     character time (1/1920th of a second at 19,200 baud) the character
  5690.     coming in through the serial port is lost.  [With a 2400 baud modem,
  5691.     there is 1/240th of a second between characters.  Much more lee-way!]
  5692.     At 19,200 baud, potential problems became apparent.
  5693.  
  5694.     For these newer modems a new UART was needed to buffer characters
  5695.     that would otherwise be lost, until the computer was able to read
  5696.     them.  National Semiconductor constructed the 16550 UART.  With the
  5697.     UART buffering, the computer can be busy doing something else for up
  5698.     to 16 character times, with no characters lost.
  5699.  
  5700.     The 16550 works on any serial port that now has an 8250 or 16450.
  5701.     The 16550 is pin-for-pin identical to the 16450/8250.  However, no-
  5702.     thing comes for free.  Special software is needed to activate the
  5703.     buffer.  Unactivated, the 16550 acts like a 16450 without the buffer;
  5704.     simply a fast UART.
  5705.  
  5706.     With version 2.7, COM-AND recognizes the 16550 UART and activates it
  5707.     when a communications port is opened.  A script author may even
  5708.     inquire what type of UART is present (through the intrinsic "_UART").
  5709.     COM-AND resets the 16550 to its previous mode when the port is
  5710.     closed.
  5711.  
  5712.     The use of the 16550 UART provides a noticeable improvement in speed
  5713.     of transfers when a 4.77 Mhz CPU is used.
  5714.  
  5715.  
  5716.  
  5717.  
  5718.  
  5719. Version 2.7: 901015                           Appendices
  5720.  
  5721. COM-AND: IBM PC Communications and Accessories                 Page  99
  5722.  
  5723.  
  5724. R.    Command Index
  5725.  
  5726.  
  5727.     ------- Commands available in CRT and Accessory -------------
  5728.     -------------------------------------------------------------
  5729.     Key      Meaning                    Page
  5730.     --------- --------------------------------------------- -----
  5731.     F1      Switch between CRT and Accessory.        12,8-9
  5732.     F2      Perform a script                15,65
  5733.     F3      Set current disk/subdirectory         15,57
  5734.     F4      Set default download disk/subdirectory    15,52
  5735.     F5      ASCII upload.                 15,49
  5736.     F6      ASCII download.                15,51
  5737.     F7      Toggle logging (transcripting).        15,56
  5738.     F8      Toggle display of typed characters.        15,57
  5739.     F9      Toggle Log hold.                15,56
  5740.     F10      Help screen.                    12
  5741.     Alt-F10   DOS Gateway.                    12,61
  5742.     Alt-A      Toggle chat mode (on CRT screen)        17,57
  5743.     Alt-B      Redisplay (backscreen).            17,57
  5744.     Alt-C      Clear the screen.                12,58
  5745.     Alt-D      Dialing directory.                12,19-20
  5746.     Alt-E      Toggle echo (full/half duplex).        12,58
  5747.     Alt-F      File directory.                12,52
  5748.     Alt-G      Toggle blank line suppression         12,58
  5749.     Alt-H      Hangup.                    13,21
  5750.     Alt-I      Program information.                13
  5751.     Alt-J      Set screen colors                17,41
  5752.     Alt-K      Set KERMIT parameters             17,58
  5753.     Alt-L      Toggle 25/43 line modes            17,58
  5754.     Alt-M      Define a macro for Alt-0 through Alt-9.    13,22
  5755.     Alt-N      Encrypt/Decrypt a file            13,25
  5756.     Alt-O      Set program options.                13,34-41
  5757.     Alt-P      Comm Parameters.                13,32
  5758.     Alt-R      Redial the last number dialed.        13,21
  5759.     Alt-S      Setup.  Define initial program values.    13,28-31
  5760.     Alt-T      Elapsed time.                 14,59
  5761.     Alt-U      Annotate call-log                14,56
  5762.     Alt-V      Emulation, Translate, and Remap        62
  5763.     Alt-W      Playback                    17,59
  5764.     Alt-X      Exit the program.                14,59
  5765.     Alt-Y      Error information.                71
  5766.     Alt-Z      Toggle parity mask.                14,60
  5767.     Alt-0/9   Send a Macro.                 14,22
  5768.     PgUp      Begin an upload                16,42-52
  5769.     PgDn      Begin a download                16,42-52
  5770.     Ctl-End   Send a Break.                 12
  5771.     Ctl-PrtSc Toggle printer (LP1)                12
  5772.  
  5773.  
  5774. Version 2.7: 901015                           Appendices
  5775.